1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # Lines configured by zsh-newuser-install
HISTFILE=~/.cache/zsh/zshist
HISTSIZE=1000
SAVEHIST=1000
bindkey -v
# Curl aliases for easy information
alias weather="curl https://wttr.in; echo"
alias myip="curl https://ipecho.net/plain; echo"
alias crypto="curl https://cad.rate.sx"
# OpenRGB
alias openrgb="sudo ./git/openrgb/OpenRGB"
# apt aliases
alias full-upgrade="sudo apt full-upgrade"
alias apt-update="sudo apt upgrade"
#replace ls with exa
alias ls="exa -al --color=always --git --group-directories-first"
alias l.="exa -a --colour=always --git -u | egrep '^\.'"
#grep w/ color
alias grep="grep --color=auto"
alias fgrep="fgrep --color=auto"
alias egrep="egrep --color=auto"
#add flags for safety
alias cp="cp -i"
#shorten youtube-dl command
alias ytdl="youtube-dl"
# Git aliases
alias gtc="git clone"
alias gch="git checkout"
alias gtpl="git pull"
# bpytop alias into htop
alias htop="bpytop"
# Directory control
alias ..="cd .."
alias ...="cd ../.."
alias .4="cd ../../.."
#Prompt
PROMPT="%(!.#.<) %F{cyan}%*%f | %F{yellow}%n%f@ %U%F{97}%2~%f%u %(!.#.>) "
RPROMPT="%(?.√.X:%?)"
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/madsci/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
#ZSH highlighting
source /dir/to/zsh/highlighting/zsh-syntax-highlighting.zsh
|
x
Notes
My .zshrc dotfile
Not much else to say…
* its pretty cool i guess…
* theres highlighting :)