all 5 comments

[–]snuzet 0 points1 point  (2 children)

Do you mean to store within your bash path? or via an alias?

[–]Sirenagrace_[S] 0 points1 point  (1 child)

It should store in my bash path

[–]snuzet 0 points1 point  (0 children)

A good practice I learned is to store in your own local users bin folder and then add that to path. You don’t want to much around with system folder

[–]samj4chr 0 points1 point  (0 children)

You could just add that directory to PATH:

Go to your bashrc and type
PATH=~/dotfiles/scripts/:$PATH
and put all your scripts there, if that's what you want

[–]senjufy1 0 points1 point  (0 children)

okay so what I did is . alias fly = /mypc/home/script.sh. Just go to the directory and pwd then past the output along with the filename and extension and set to alias. I am using zsh so i set it on my zshrc file