From acd50b296fa910323beb67f50bbf8ce2aeb2ff16 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sat, 20 Jan 2024 18:57:40 -0800 Subject: 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 --- home/xyz/.bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'home/xyz/.bashrc') 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"' -- cgit v1.2.3-70-g09d2