improved zshrc
This commit is contained in:
parent
7c5689aa9f
commit
d9a5387827
9
.zshrc
9
.zshrc
@ -93,6 +93,10 @@ export PROMPT_EOL_MARK=""
|
||||
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
|
||||
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
|
||||
alias vim="nvim"
|
||||
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 open="xdg-open"
|
||||
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 modx="chmod +x"
|
||||
alias mv="mv -iv"
|
||||
@ -115,3 +119,6 @@ alias mkdir="mkdir -pv"
|
||||
alias ssh="TERM=xterm-256color ssh"
|
||||
alias yeet="sudo pacman -Rns"
|
||||
alias ip="ip -c=auto"
|
||||
alias syu="sudo pacman -Syu"
|
||||
alias virsh="virsh -c qemu:///system"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user