Skip to content

Commit a5ab840

Browse files
Update .bashrc
Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com>
1 parent a0a6049 commit a5ab840

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.bashrc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ iatest=$(expr index "$-" i)
44
#######################################################
55
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
66
#######################################################
7-
FASTFETCH_PATH=$(which fastfetch 2>/dev/null)
8-
9-
if [ -x "$FASTFETCH_PATH" ]; then
10-
"$FASTFETCH_PATH"
7+
if command -v fastfetch 2>/dev/null; then
8+
fastfetch
119
fi
1210

1311
# Source global definitions

0 commit comments

Comments
 (0)