2016-03-11 21:47:31 +00:00
|
|
|
# Fish configuration file
|
|
|
|
|
2019-12-27 13:04:46 +00:00
|
|
|
# Configuration for terminal / unix:
|
2017-12-21 13:31:54 +00:00
|
|
|
set -x LC_CTYPE en_US.UTF-8
|
|
|
|
set -x LC_ALL en_US.UTF-8
|
|
|
|
|
2017-12-20 10:02:56 +00:00
|
|
|
if test (uname) != "Darwin"
|
2019-12-24 14:23:20 +00:00
|
|
|
set -x TERM xterm-256color
|
2017-12-20 10:02:56 +00:00
|
|
|
end
|
2017-02-11 12:42:29 +00:00
|
|
|
|
2019-12-27 13:04:46 +00:00
|
|
|
# Creation mask
|
|
|
|
umask 022
|
|
|
|
|
|
|
|
# Theme configuration (bobthefish):
|
2019-12-24 14:23:20 +00:00
|
|
|
set -g theme_newline_cursor yes
|
2019-12-26 16:13:32 +00:00
|
|
|
set -g theme_newline_prompt "\$ "
|
2019-12-24 14:23:20 +00:00
|
|
|
set -g theme_color_scheme zenburn
|
|
|
|
set -g VIRTUAL_ENV_DISABLE_PROMPT 1
|
|
|
|
|
2019-12-27 13:04:46 +00:00
|
|
|
# Python configuration:
|
|
|
|
set -x PYTHONIOENCODING UTF-8
|
2019-12-24 14:23:20 +00:00
|
|
|
set -xg WORKON_HOME /opt/envs
|
|
|
|
set -xg MYPYPATH $HOME/.mypy
|
|
|
|
|
2017-02-11 12:42:29 +00:00
|
|
|
# Aliases
|
2017-12-20 10:02:56 +00:00
|
|
|
if test (uname) != "Darwin"
|
2019-12-24 14:23:20 +00:00
|
|
|
alias ls='ls --color=auto'
|
2019-12-27 13:04:46 +00:00
|
|
|
alias ll='ls -lh'
|
2019-12-24 14:23:20 +00:00
|
|
|
alias la='ls -A'
|
|
|
|
alias l='ls -CF'
|
|
|
|
alias rm='rm -i --preserve-root'
|
2017-12-20 10:02:56 +00:00
|
|
|
else
|
2019-12-24 14:23:20 +00:00
|
|
|
alias rm='rm -i'
|
2017-12-20 10:02:56 +00:00
|
|
|
end
|
|
|
|
|
2019-12-27 13:04:46 +00:00
|
|
|
# Extend path:
|
|
|
|
set PPATHS /usr/local/bin /usr/local/sbin
|
2016-03-11 21:47:31 +00:00
|
|
|
|
2019-12-27 13:04:46 +00:00
|
|
|
for path in $PPATHS
|
|
|
|
if test -e $path
|
|
|
|
set -xg PATH $path $PATH
|
2019-12-24 14:23:20 +00:00
|
|
|
end
|
2017-02-11 12:42:29 +00:00
|
|
|
end
|