summaryrefslogtreecommitdiff
path: root/gemfeed/examples/conf/dotfiles/bash/bashrc
blob: ec2b10c30288eee95a8422c9ab94b571bc78fcf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# If shell is interactive
if [[ ! -z "$PS1" && ! -f $HOME/.nofish ]]; then
  # Use fish if it's installed
  if [ -e /opt/local/bin/fish ]; then
    exec /opt/local/bin/fish
  elif [ -e /bin/fish ]; then
    exec /bin/fish
  elif [ -e /usr/bin/fish ]; then
    exec /usr/bin/fish
  elif [ -e /data/data/com.termux/files/usr/bin/fish ]; then
    exec /data/data/com.termux/files/usr/bin/fish
  fi

  echo 'I might want to install fish on this host'
fi