54 lines
1.0 KiB
Fish
54 lines
1.0 KiB
Fish
# Fish configuration file
|
|
|
|
if ! status --is-interactive
|
|
exit
|
|
end
|
|
|
|
if test -e /etc/profile
|
|
and type -q bass
|
|
bass source /etc/profile
|
|
end
|
|
|
|
# Configuration for terminal / unix:
|
|
set -x LC_CTYPE en_US.UTF-8
|
|
set -x LC_ALL en_US.UTF-8
|
|
|
|
set fish_greeting ""
|
|
|
|
if test (uname) != "Darwin"
|
|
set -x TERM xterm-256color
|
|
end
|
|
|
|
# Creation mask
|
|
umask 022
|
|
|
|
# Theme configuration (bobthefish):
|
|
set -g VIRTUAL_ENV_DISABLE_PROMPT 1
|
|
|
|
# Python configuration:
|
|
set -x PYTHONIOENCODING UTF-8
|
|
set -xg WORKON_HOME $HOME/.envs
|
|
set -xg MYPYPATH $HOME/.mypy
|
|
|
|
if command -v kubectl > /dev/null 2>&1
|
|
kubectl completion fish | source
|
|
end
|
|
|
|
# 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
|
|
|
|
# Azure
|
|
set -g FUNCTIONS_CORE_TOOLS_TELEMETRY_OPTOUT 1
|
|
|
|
set -xg GPG_TTY (tty)
|
|
|
|
~/.local/bin/oh-my-posh init fish --config https://gitea.typename.fr/mikael.capelle/pwsh-conf/raw/branch/master/theme.omp.json | source
|