diff options
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -0,0 +1,38 @@ +autoload -U colors && colors +PS1="%B%{$fg[yellow]%}[%{$fg[green]%}%n%{$fg[yellow]%}@%{$fg[cyan]%}%M%{$fg[yellow]%}:%{$fg[yellow]%}%~%{$fg[yellow]%}]"$'\n'"%{$fg[yellow]%}>%b " +stty stop undef +HISTFILE=~/.cache/histfile +HISTSIZE=10000 +SAVEHIST=10000 +setopt EXTENDED_HISTORY +unsetopt beep +bindkey -e +zstyle :compinstall filename '~/.zshrc' +autoload -Uz compinit +compinit +zstyle ':completion:*' menu select +zmodload zsh/complist +_comp_options+=(globdots) + +alias \ + ls='ls -Fv --color=auto --group-directories-first' \ + ll='ls -lhvF --color=auto --group-directories-first' \ + la='ls -lhvAF --color=auto --group-directories-first' \ + grep='grep --color=auto' \ + diff='diff --color=auto' \ + tree='tree -C' \ + cal='cal -ym' \ + cp='cp -v' \ + mv='mv -v' \ + rm='rm -vI' \ + mkdir='mkdir -pv' \ + bc='bc -lq' \ + ip='ip -c' \ + wttr='curl https://wttr.in' \ + mapscii='telnet mapscii.me' \ + mpva='mpv --no-video' \ + ytdl='yt-dlp' \ + re='zathura' \ + nsxiv='nsxiv -a' \ + units='units -H ""' \ + pacs='pacman -Slq | fzf --reverse --multi --preview "pacman -Si {1}" --preview-window=right:75%:sharp | xargs -ro sudo pacman -S' |