Browse files

Merge pull request #371 from wesbarnett/master

Add support for fish
  • Loading branch information...
2 parents 7a16910 + ada81be commit ce7cd738606a841e0973a7d9f4f3e7c419b20fa8 @darealshinji darealshinji committed on GitHub Jul 23, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 screenfetch-dev
View
3 screenfetch-dev
@@ -1391,6 +1391,9 @@ detectshell () {
zsh)
shell_version_data=$( detectshell_ver "$shell_type" "^zsh" "2" )
;;
+ fish)
+ shell_version_data=$( fish --version | awk '{print $3}' )
+ ;;
esac
if [[ -n $shell_version_data ]];then

0 comments on commit ce7cd73

Please sign in to comment.