From 0693f6618da35ea8dc65b70f66911e7600eec87f Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Tue, 26 Nov 2024 21:50:44 +0000 Subject: [PATCH] zsh abbreviations --- config/.config/zsh-abbr/user-abbreviations | 5 +++++ zsh/.bash_profile | 2 +- zsh/abbreviations.zsh | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 config/.config/zsh-abbr/user-abbreviations diff --git a/config/.config/zsh-abbr/user-abbreviations b/config/.config/zsh-abbr/user-abbreviations new file mode 100644 index 0000000..d0b4935 --- /dev/null +++ b/config/.config/zsh-abbr/user-abbreviations @@ -0,0 +1,5 @@ +abbr "bb"="blaze build" +abbr "bq"="blaze query" +abbr "br"="blaze run" +abbr "ds_clean"="find ./ -name \".DS_Store\" -depth -exec rm {} \;" +abbr "mux"="tmuxinator" diff --git a/zsh/.bash_profile b/zsh/.bash_profile index 74d8bb9..6c78c2f 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 ~/.aliases.sh +source ~/abbreviations.zsh if [[ -f "$HOME/use_google" ]]; then source $HOME/.bash_profile.google diff --git a/zsh/abbreviations.zsh b/zsh/abbreviations.zsh index af1ad85..3c2d68c 100644 --- a/zsh/abbreviations.zsh +++ b/zsh/abbreviations.zsh @@ -1,3 +1,4 @@ +export ABBR_QUIET=1 alias grep='grep --colour' abbr vim='nvim' abbr vimdiff='nvim -d' @@ -21,3 +22,4 @@ swap_files () { } function zipdiff() { diff -W200 -y <(unzip -vql "$1" | sort -k8) <(unzip -vql "$2" | sort -k8); } +export ABBR_QUIET=0