This commit is contained in:
Sage Vaillancourt 2023-12-17 17:32:02 -05:00
commit 461cbce110
2 changed files with 7 additions and 3 deletions

View File

@ -39,6 +39,10 @@ function fin {
find -iname "*$@*"
}
function scpace {
scp -P 11275 $@
}
function gamp {
git add * && git commit -am "$1" && git push
}
@ -69,7 +73,7 @@ function ww {
ws $(rg --no-line-number --no-filename . ~/wiki | sed 's/[^a-zA-Z0-9]\+/\n/g' | grep -v "^$" | sort -f | uniq -ci | sort -hr | fzf -i | cut -c 9-)
}
if command -v bat; then
if command -v bat &> /dev/null; then
alias cat="bat -p"
fi
export FZF_DEFAULT_COMMAND='fd --type f'

View File

@ -70,9 +70,9 @@ source ~/.zsh_local
function pushdot {
cd "$DOT_DIR" || return 1
if [ $# -eq 0 ]; then
git commit -a && git push -u origin main &
git commit -a && git push -u origin main
else
git commit -a -m "$1" && git push -u origin main | /dev/null &
git commit -a -m "$@" && git push -u origin main
fi
cd -
}