type -t gls > /dev/null
switch $status

  case 0
    function ls
      command gls -FBh $argv
    end

    function dir
      command gls -lFBh $argv
    end  
    
  case '*'
    function ls
      command ls -FBh $argv
    end

    function dir
      command ls -lFBh $argv
    end  

end

# Remove greeting
set fish_greeting

# https://github.com/fish-shell/fish-shell/blob/master/share/functions/__fish_git_prompt.fish
set -g __fish_git_prompt_showupstream "auto"
set -g __fish_git_prompt_showstashstate "1"
set -g __fish_git_prompt_showdirtystate "1"

# -*- sh -*-

set -g GITROOT "git@github.com:ithinkihaveacat"
set -g GREP_OPTIONS "--exclude=.svn --exclude=.git --binary-files=without-match"
set -g TZ "Europe/London"

# Create ls and dir aliases
type -t gls > /dev/null
switch $status

  case 0
    function ls
      command gls -FBh $argv
    end

    function dir
      command gls -lFBh $argv
    end  
    
  case '*'
    function ls
      command ls -FBh $argv
    end

    function dir
      command ls -lFBh $argv
    end  

end

# Remove greeting
set fish_greeting

# Configure git prompt
# https://github.com/fish-shell/fish-shell/blob/master/share/functions/__fish_git_prompt.fish
set -g __fish_git_prompt_showupstream "auto"
set -g __fish_git_prompt_showstashstate "1"
set -g __fish_git_prompt_showdirtystate "1"

Set a few more environment variables
Set a few more environment variables

ithinkihaveacat/dotfiles,ithinkihaveacat/dotfiles,ithinkihaveacat/dotfiles