aboutsummaryrefslogblamecommitdiffstats
path: root/fish2024/config.fish
blob: 8af7c5969b59433e051d32eb2718247959b7a294 (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
            
 

                                                         
                    
                       
                                                        
                                                 
   
 




                                                         
 
                              
 



                             
                                    




                                                                                 
# unbind Y to paste
#bind \cy ''

if status is-interactive
    # Commands to run in interactive sessions can go here
  set -gx EDITOR vim
  set -gx GPG_TTY (tty)
  set -gx LEDGER_FILE $HOME/Budget/hledger/budget.ledger
  set -gx BORG_PASSCOMMAND "pass borg-passphrase"
end

if not set -Ux SSH_AUTH_SOCK && not set -Ux SSH_AGENT_PID
  eval (ssh-agent -c) > /dev/null
  set -Ux SSH_AUTH_SOCK $SSH_AUTH_SOCK
  set -Ux SSH_AGENT_PID $SSH_AGENT_PID
end

#fish_config theme choose None

setxkbmap -option ctrl:nocaps
setxkbmap -layout gb
xset r rate 300 30

. ~/perl5/perlbrew/etc/perlbrew.fish

#direnv prints all the variables whenever I start a new shell
direnv hook fish | source
# recommended to use this line to stop the env variables being printed every time
#eval (direnv hook fish)