diff options
Diffstat (limited to '.config/shell/functions')
| -rw-r--r-- | .config/shell/functions | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/.config/shell/functions b/.config/shell/functions deleted file mode 100644 index a300316..0000000 --- a/.config/shell/functions +++ /dev/null @@ -1,16 +0,0 @@ -gvc() { - if [[ $1 == "clone" ]]; then - shift - git clone git@git.venomade.com:"$@" - else - ssh git@git.venomade.com "$@" - fi -} - -function y() { - local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd - command yazi "$@" --cwd-file="$tmp" - IFS= read -r -d '' cwd < "$tmp" - [ "$cwd" != "$PWD" ] && [ -d "$cwd" ] && builtin cd -- "$cwd" - rm -f -- "$tmp" -} |
