diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index d921e8f..d1dcb2b 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -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' diff --git a/fake_home/.zshrc b/fake_home/.zshrc index d3aad88..540c1f9 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -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 - }