diff options
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/shortcutgen | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/shortcutgen b/.local/bin/shortcutgen index 4701655..f11cdf7 100755 --- a/.local/bin/shortcutgen +++ b/.local/bin/shortcutgen @@ -43,14 +43,14 @@ function remove_whitespace(str) { uc_col2 = toupper($2) # Write to $XDG_CONFIG_HOME/lf/shortcuts - print "map g" lc_col2 " cd " $3 > ENVIRON["XDG_CONFIG_HOME"] "/lf/shortcuts" + print "map g" lc_col2 " cd " $3 > lf_filepath # Write to $XDG_CACHE_HOME/zsh-shortcuts # print "alias g" lc_col2 "=\"cd " $3 "\"" > ENVIRON["XDG_CACHE_HOME"] "/zsh-shortcuts" - print "g" lc_col2 "() {cd " $3 "}" > ENVIRON["XDG_CACHE_HOME"] "/zsh-shortcuts" + print "g" lc_col2 "() {cd " $3 "}" > zsh_filepath # Write to $XDG_CACHE_HOME/env-shortcuts - print "export G" uc_col2 "=\"" $3 "\"" > ENVIRON["XDG_CACHE_HOME"] "/env-shortcuts" + print "export G" uc_col2 "=\"" $3 "\"" > env_filepath } } ' "$src" |