You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the release (1.12) and made z.sh executable. However I am unable to use the z command. I have added it to the PATH and refreshed the terminal.
Upon looking into it a bit more I am unable to execute z.sh manually.
./z.sh
or
./z.sh -t
or
./z.sh foo
returns the following:
./z.sh: 147: Syntax error: redirection unexpected
Neofetch data (its very close to a fresh install) :
OS: Pop!_OS 22.04 LTS x86_64
Kernel: 6.6.10-76060610-generic
Shell: bash 5.1.16
DE: GNOME 42.5
Terminal: gnome-terminal
The text was updated successfully, but these errors were encountered:
z shoud be sourced, you don't need to make it executable.
Instead of calling the script, source it by either:
.'<path>/<to>/z.sh'# orsource'<path>/<to>/z.sh'
That worked. Sorry I thought z.sh had to be run and added to the path. I am not that familiar with what sourced does but I will check out that article.
I cloned the release (1.12) and made z.sh executable. However I am unable to use the z command. I have added it to the PATH and refreshed the terminal.
Upon looking into it a bit more I am unable to execute z.sh manually.
returns the following:
./z.sh: 147: Syntax error: redirection unexpected
Neofetch data (its very close to a fresh install) :
OS: Pop!_OS 22.04 LTS x86_64
Kernel: 6.6.10-76060610-generic
Shell: bash 5.1.16
DE: GNOME 42.5
Terminal: gnome-terminal
The text was updated successfully, but these errors were encountered: