Skip to content

Commit

Permalink
gcamp and ff aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
cbachhuber committed Aug 23, 2024
1 parent 4543242 commit 6162aa3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,18 @@ pasteinit() {
pastefinish() {
zle -N self-insert $OLD_SELF_INSERT
}

# aliases
function gcamp(){
if ! [ -z $1 ]; then
git commit -am $1 && git push
fi
}
function ff(){
if ! [ -z $1 ]; then
firefox $1 >/dev/null 2>&1 & disown
fi
}

zstyle :bracketed-paste-magic paste-init pasteinit
zstyle :bracketed-paste-magic paste-finish pastefinish

0 comments on commit 6162aa3

Please sign in to comment.