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
{{ message }}
Repository navigation
How to make all scripts execute randomly in fish shell? #21
I'm using fish shell as a default shell, but i couldn't figure out how to link all executable files so that every time i open my terminal some of than to execute randomly.
set -l splash (find ~/.config/fish/scripts/Color-Scripts/ -type f | shuf -n 1) && $splash
This is what I did
The command will execute a random script from the Color-Scripts directory
Just put this command in your fish config file, and it will run a random script in each new terminal 😃
set -l splash (find ~/.config/fish/scripts/Color-Scripts/ -type f | shuf -n 1) && $splash
This is what I did
The command will execute a random script from the Color-Scripts directory
Just put this command in your fish config file, and it will run a random script in each new terminal 😃
Activity
faedy2 commentedon Dec 26, 2020
set -l splash (find ~/.config/fish/scripts/Color-Scripts/ -type f | shuf -n 1) && $splashThis is what I did
The command will execute a random script from the Color-Scripts directory
Just put this command in your fish config file, and it will run a random script in each new terminal 😃
Sayan-Manna commentedon Nov 4, 2021
how to do it on zsh?