diff --git a/zsh/abbreviations.zsh b/zsh/.aliases.sh similarity index 78% rename from zsh/abbreviations.zsh rename to zsh/.aliases.sh index 3c2d68c..ff17ba3 100644 --- a/zsh/abbreviations.zsh +++ b/zsh/.aliases.sh @@ -1,19 +1,13 @@ export ABBR_QUIET=1 alias grep='grep --colour' -abbr vim='nvim' -abbr vimdiff='nvim -d' # abbr cat='bat' alias ls='exa' -abbr mux='tmuxinator' alias tmux='tmux -2' alias cp='cp -iv' # Preferred 'cp' implementation alias mv='mv -iv' # Preferred 'mv' implementation alias mkdir='mkdir -pv' # Preferred 'mkdir' implementation -# recursively delete .DS_Store files -abbr ds_clean='find ./ -name ".DS_Store" -depth -exec rm {} \;' - swap_files () { tmp_name=$(TMPDIR=$(dirname -- "$1") mktemp) && mv -f -- "$1" "$tmp_name" && diff --git a/zsh/.bash_profile b/zsh/.bash_profile index 6c78c2f..74d8bb9 100644 --- a/zsh/.bash_profile +++ b/zsh/.bash_profile @@ -18,7 +18,7 @@ export DEVKITPRO=/opt/devkitpro export DEVKITARM=${DEVKITPRO}/devkitARM export DEVKITPPC=${DEVKITPRO}/devkitPPC -source ~/abbreviations.zsh +source ~/.aliases.sh if [[ -f "$HOME/use_google" ]]; then source $HOME/.bash_profile.google