summaryrefslogtreecommitdiff
path: root/home/xyz/.bashrc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-20 18:57:40 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-20 18:57:40 -0800
commitacd50b296fa910323beb67f50bbf8ce2aeb2ff16 (patch)
tree540fe74e76259e46c287b385ea3a01d54dc4cca6 /home/xyz/.bashrc
parent75b200987684c9bfde6c161da8937b7f180c90bd (diff)
alias vd use vidir instead, vidir2 has a bug
vidir2 when there's a a2 b b2, and I delete a and b, and I rename a2 to a and b2 to b; will keep a and b and rename those to a~ and b~, and delete a2 and b2 instead; seems only vidir2's bug, vidir works fine
Diffstat (limited to 'home/xyz/.bashrc')
-rw-r--r--home/xyz/.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 6b26c7f1..dbd68b7b 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -96,7 +96,8 @@ alias u='ssh-add -l >/dev/null || ssh-add; o alacritty -e ssh ka; o alacritty -e
alias v='"$EDITOR"'
alias va='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/computer/arch_install.md"'
alias vc='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/computer/cli_notes.md"'
-alias vd='vidir2 --linktargets'
+alias vd='vidir'
+alias vd2='vidir2 --linktargets'
alias vq='"$EDITOR" "$XDG_DOCUMENTS_DIR/notes/others/questions_ideas_tips.md"'
alias vn='"$EDITOR" "$(find "$XDG_DOCUMENTS_DIR/notes" -mindepth 1 -path "*/\.git" -prune -o -type f -print | fzf)"'
alias vr='"$EDITOR" "$DOTREMINDERS"'