Skip to content

Commit

Permalink
feat(bashrc): only allow Easter eggs enabled in urxvt
Browse files Browse the repository at this point in the history
  • Loading branch information
xatier committed Nov 16, 2023
1 parent 8dea5f2 commit 0d4f4c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,10 @@ PS1+='-'$COLOR_PURPLE'[$(distro_name)] \$ '$COLOR_END # distrobution name

# df check every day!
#perl $HOME/bin/dfCheckEveryday.pl
cal -3
#fortune
if [[ "$TERM" =~ "rxvt-256color" ]]; then
cal -3
#fortune
fi

# display return code of previous command
ret_code() {
Expand Down

0 comments on commit 0d4f4c6

Please sign in to comment.