6e8cfc9ec3
updated everything
26 lines
947 B
Text
26 lines
947 B
Text
# Aliases for emacs commands
|
|
alias ff find-file $1
|
|
|
|
# Changing "ls" to "exa"
|
|
alias ls exa -al --color=always --group-directories-first $* # my preferred listing
|
|
alias la exa -a --color=always --group-directories-first $* # all files and dirs
|
|
alias ll exa -l --color=always --group-directories-first $* # long format
|
|
alias lt exa -aT --color=always --group-directories-first $* # tree listing
|
|
alias l. exa -a1 $* | grep "^\." # list hidden files
|
|
|
|
# Merge Xresources
|
|
alias merge xrdb -merge ~/.Xresources
|
|
|
|
# Aliases for doom emacs utilties
|
|
alias doomsync ~/.emacs.d/bin/doom sync
|
|
alias doomdoctor ~/.emacs.d/bin/doom doctor
|
|
alias doomupgrade ~/.emacs.d/bin/doom upgrade
|
|
alias doompurge ~/.emacs.d/bin/doom purge
|
|
|
|
# Confirm before overwriting something
|
|
alias cp cp -i $1
|
|
alias mv mv -i $1
|
|
alias rm rm -i $1
|
|
|
|
# bare git repo alias for dotfiles
|
|
alias config /usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME $*
|