Open GeorgeVivanov opened 3 years ago
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 😃
how to do it on zsh?
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.