Merge branch 'main' of https://git.sagev.space/sage/dotfiles
This commit is contained in:
commit
461cbce110
|
@ -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'
|
||||
|
|
|
@ -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 -
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue