We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c85c80 commit a0a6049Copy full SHA for a0a6049
.bashrc
@@ -4,8 +4,10 @@ iatest=$(expr index "$-" i)
4
#######################################################
5
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
6
7
-if [ -f /usr/bin/fastfetch ]; then
8
- fastfetch
+FASTFETCH_PATH=$(which fastfetch 2>/dev/null)
+
9
+if [ -x "$FASTFETCH_PATH" ]; then
10
+ "$FASTFETCH_PATH"
11
fi
12
13
# Source global definitions
0 commit comments