Skip to content

Instantly share code, notes, and snippets.

@arainho
Created May 29, 2018 11:23
Show Gist options
  • Save arainho/4e2a889a0c43b9430f23e83472d80cab to your computer and use it in GitHub Desktop.
Save arainho/4e2a889a0c43b9430f23e83472d80cab to your computer and use it in GitHub Desktop.
Fish Shell - User initilization file
set -g fish_user_paths "/usr/local/sbin" $fish_user_paths
set -g fish_user_paths "$HOME/bin" $fish_user_paths
set -e GPG_AGENT_INFO
set -e SSH_AGENT_PID
set -x GPG_TTY (tty)
set -x SSH_AUTH_SOCK ~/.gnupg/S.gpg-agent.ssh
set LC_CTYPE en_US.UTF-8
set LC_ALL en_US.UTF-8
set -x GGOPATH "$HOME/go"
# Change the prompt text
set pure_symbol_prompt "~>"
set pure_symbol_git_down_arrow "v"
set pure_symbol_git_up_arrow "^"
set pure_symbol_git_dirty "!"
set pure_symbol_horizontal_bar "_"
# Change the colors
set pure_color_blue (set_color "1e00fd")
set pure_color_cyan (set_color "1e95fd")
set pure_color_gray (set_color "6c6c6c")
set pure_color_green (set_color "66ff66")
set pure_color_normal (set_color "000000")
set pure_color_red (set_color "f820ff")
set pure_color_yellow (set_color "1bc8c8")
# Change colors for username and host in SSH
set pure_username_color $pure_color_yellow
set pure_host_color $pure_color_green
set pure_root_color $pure_color_red
# Change where the username and host is displayed
# 0 - end of prompt, default
# 1 - start of prompt
# Any other value defaults to the default behaviour
set pure_user_host_location 1
# Max execution time of a process before its run time is shown when it exits
set pure_command_max_exec_time 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment