improved zshrc

This commit is contained in:
Djeeberjr 2021-10-28 19:43:04 +02:00
parent 7c5689aa9f
commit d9a5387827

9
.zshrc
View File

@ -93,6 +93,10 @@ export PROMPT_EOL_MARK=""
export FZF_DEFAULT_COMMAND="fd --type file --color=always" export FZF_DEFAULT_COMMAND="fd --type file --color=always"
export FZF_DEFAULT_OPTS="--ansi" export FZF_DEFAULT_OPTS="--ansi"
# nvm
[ -z "$NVM_DIR" ] && export NVM_DIR="$XDG_CACHE_HOME/nvm"
alias nvm-init="source /usr/share/nvm/nvm.sh;source /usr/share/nvm/install-nvm-exec"
# Aliases # Aliases
alias vim="nvim" alias vim="nvim"
alias sudo='sudo ' alias sudo='sudo '
@ -106,7 +110,7 @@ alias mixer='ncpamixer'
alias dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfile config --local status.showUntrackedFiles no alias dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfile config --local status.showUntrackedFiles no
alias open="xdg-open" alias open="xdg-open"
alias mixer="pulsemixer" alias mixer="pulsemixer"
alias yt-dl-audio="youtube-dl --extract-audio --audio-format mp3" alias yt-dl-audio="youtube-dl --extract-audio --audio-format mp3 -o '%(title)s.%(ext)s'"
alias rm="trash" alias rm="trash"
alias modx="chmod +x" alias modx="chmod +x"
alias mv="mv -iv" alias mv="mv -iv"
@ -115,3 +119,6 @@ alias mkdir="mkdir -pv"
alias ssh="TERM=xterm-256color ssh" alias ssh="TERM=xterm-256color ssh"
alias yeet="sudo pacman -Rns" alias yeet="sudo pacman -Rns"
alias ip="ip -c=auto" alias ip="ip -c=auto"
alias syu="sudo pacman -Syu"
alias virsh="virsh -c qemu:///system"