Created
June 29, 2023 06:15
-
-
Save malikbenkirane/b4ea86153e49140878d20384497364b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gi="git add -i" | |
alias gv="git commit -v" | |
g() { | |
case $1 in | |
ai) | |
git add -i | |
;; | |
a) | |
git commit -v --amend | |
;; | |
s) | |
git status -s | |
;; | |
ss) | |
git status | |
;; | |
c) | |
git commit -v | |
;; | |
ca) | |
git commit -av | |
;; | |
*) | |
echo git $@ | |
;; | |
esac | |
} | |
export EDITOR=hx | |
alias ext="exa -T" | |
alias wezrc="${EDITOR} ~/.wezterm.lua:13:16" | |
alias hxrc="${EDITOR} ~/.config/helix/config.toml" | |
alias zrc="${EDITOR} ~/.zshrc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
g
funcdisclaimer: no
shift
yet it's like aliases*
Config