Skip to content

Instantly share code, notes, and snippets.

@aspick
Created March 20, 2018 18:13
Show Gist options
  • Save aspick/1bb85f388a45ce4d17a18d7792bb48d1 to your computer and use it in GitHub Desktop.
Save aspick/1bb85f388a45ce4d17a18d7792bb48d1 to your computer and use it in GitHub Desktop.
export LSCOLORS=Exfxcxdxbxegedabagacad
function fish_prompt
if not set -q __fish_prompt_hostname
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end
set_color normal
set -g fish_prompt_pwd_dir_length 0
echo -s -n "$USER" @ "$__fish_prompt_hostname" " "
set_color --bold yellow
echo (prompt_pwd)
set_color normal
echo '> '
end
function fish_right_prompt
echo (__fish_git_prompt)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment