File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 11# Startup
22# Commands to execute on startup (before the prompt is shown)
3- # This is a good place to load graphic/ascii art, display system information, etc.
4-
5- if command -v pokego > /dev/null; then
6- pokego --no-title -r 1,3,6
7- elif command -v pokemon-colorscripts > /dev/null; then
8- pokemon-colorscripts --no-title -r 1,3,6
9- elif command -v fastfetch > /dev/null; then
10- fastfetch --logo-type kitty
3+ # Check if the interactive shell option is set
4+ if [[ $- == * i* ]]; then
5+ # This is a good place to load graphic/ascii art, display system information, etc.
6+ if command -v pokego > /dev/null; then
7+ pokego --no-title -r 1,3,6
8+ elif command -v pokemon-colorscripts > /dev/null; then
9+ pokemon-colorscripts --no-title -r 1,3,6
10+ elif command -v fastfetch > /dev/null; then
11+ fastfetch --logo-type kitty
12+ fi
1113fi
12-
1314# fastfetch.sh
1415
1516# Aliases
You can’t perform that action at this time.
0 commit comments