commit 79a8f41b5074f956f63ee010307bb7bc9cf988ac Author: afonsofrancof Date: Fri Oct 14 13:46:51 2022 +0100 Added fish configuration diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..2d88bc9 --- /dev/null +++ b/.config/fish/config.fish @@ -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