From 9adf0e6bcd933ac73b5c20fc3da9957be137e66e Mon Sep 17 00:00:00 2001 From: karioki Date: Mon, 11 Jan 2021 00:55:12 +0530 Subject: [PATCH] Restoring missing line for zsh file shortcuts (#879) --- .local/bin/shortcuts | 1 + 1 file changed, 1 insertion(+) diff --git a/.local/bin/shortcuts b/.local/bin/shortcuts index f0387c2..8f459af 100755 --- a/.local/bin/shortcuts +++ b/.local/bin/shortcuts @@ -31,6 +31,7 @@ awk "!/^\s*#/ && !/^\s*\$/ {gsub(\"\\\s*#.*$\",\"\"); eval "echo \"$(cat "$bmfiles")\"" | \ awk "!/^\s*#/ && !/^\s*\$/ {gsub(\"\\\s*#.*$\",\"\"); printf(\"%s=\42\$EDITOR %s\42 \\\\\n\",\$1,\$2) >> \"$shell_shortcuts\" ; + printf(\"hash -d %s=%s \n\",\$1,\$2) >> \"$zsh_named_dirs\" ; printf(\"abbr %s \42\$EDITOR %s\42 \n\",\$1,\$2) >> \"$fish_shortcuts\" ; printf(\"map %s :e %s \n\",\$1,\$2) >> \"$vifm_shortcuts\" ; printf(\"map %s shell \$EDITOR %s \n\",\$1,\$2) >> \"$ranger_shortcuts\" }"