Added fish configuration

This commit is contained in:
afonsofrancof 2022-10-14 13:46:51 +01:00
commit 79a8f41b50

26
.config/fish/config.fish Normal file
View file

@ -0,0 +1,26 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end
bind \cH backward-kill-path-component
bind "[3;5~" kill-word
function config
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $argv
end
function vim
nvim $argv
end
function core
xhost +local:root
sudo docker exec -it core core-gui
end
set PATH $HOME/.cargo/bin $HOME/.local/bin $PATH
#set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/afonso/.ghcup/bin $PATH # ghcup-env
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/afonso/.ghcup/bin $PATH # ghcup-env