Voidrice: Some issues with last commit (cleanup)

Created on 17 Nov 2020  路  6Comments  路  Source: LukeSmithxyz/voidrice

Hey, i'm glad we got rid of the old stuff. I got a small issue with the commit though, the shortcuts do not work, and my terminal outputs this

run-help=man
which-command=whence

Also when i ran manually shortcuts i got two non existent files: bm-files and bm-dirs, i did a touch bm-files and got rid of the error but still no shortcuts, what it might be?

Edit: I just found out that zshnameddirrc is still in .config when it should be in shell/

Edit2: after fixing zshnameddirrc apparently the errors mentioned above appear when zsh tries to load shortcutrc on line 15.

Okay i just found out that bm-dirs and bm-files replace the old files and directories. Solvedd

All 6 comments

Actually no, @LukeSmithxyz we should move zshnameddirrc to shell/

we should move zshnameddirrc to shell/

Yeah, after renaming this and manually

.config/shell/files -> .config/shell/bm-files
.config/shell/directorirs -> .config/shell/bm-dirs

everything is ok.

Or what I did, I renamed the variables in .local/bin/shortcuts to the new filenames

after doing what you suggested i still get
run-help=man
which-command=whence

every time i start a terminal

@kronikpillow

Double-check the following lines in .local/bin/shortcuts

dirs="${XDG_CONFIG_HOME:-$HOME/.config}/shell/directories"
files="${XDG_CONFIG_HOME:-$HOME/.config}/shell/files"

shell_shortcuts="${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc"
zsh_named_dirs="${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"

Then run shortcuts again (to update those shortcut aliases).

Should be fixed now. Yes, run the shortcuts command to fix the other issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LukeSmithxyz picture LukeSmithxyz  路  9Comments

tallguyjenks picture tallguyjenks  路  5Comments

lukerb52 picture lukerb52  路  3Comments

LukeSmithxyz picture LukeSmithxyz  路  5Comments

Heliferepo picture Heliferepo  路  7Comments