fish-conf/config.fish

44 lines
819 B
Fish
Raw Normal View History

2020-06-17 11:09:14 +00:00
# Fish configuration file
2020-11-19 13:20:16 +00:00
if ! status --is-interactive
exit
end
2020-06-17 11:41:07 +00:00
if test -e /etc/profile
2020-06-17 11:45:31 +00:00
and type -q bass
2020-06-17 11:41:07 +00:00
bass source /etc/profile
end
2020-06-17 11:09:14 +00:00
# Configuration for terminal / unix:
set -x LC_CTYPE en_US.UTF-8
set -x LC_ALL en_US.UTF-8
if test (uname) != "Darwin"
set -x TERM xterm-256color
end
# Creation mask
umask 022
# Theme configuration (bobthefish):
set -g theme_newline_cursor yes
set -g theme_newline_prompt "\$ "
set -g theme_color_scheme zenburn
set -g VIRTUAL_ENV_DISABLE_PROMPT 1
# Python configuration:
set -x PYTHONIOENCODING UTF-8
2020-07-21 09:17:27 +00:00
set -xg WORKON_HOME $HOME/.envs
2020-06-17 11:09:14 +00:00
set -xg MYPYPATH $HOME/.mypy
# Aliases
if test (uname) != "Darwin"
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -A'
alias l='ls -CF'
alias rm='rm -i --preserve-root'
else
alias rm='rm -i'
end