aboutsummaryrefslogtreecommitdiffstats
path: root/fish/.config/fish/config.fish
blob: 2c65a78c6a19da32490955b0fc42b73831d5cabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
set -x _JAVA_AWT_WM_NONREPARENTING 1
set -x DOTNET_CLI_TELEMETRY_OPTOUT 1
set -x EDITOR 'emacsclient -nw'
set -x VISUAL 'emacsclient -c'
set -x CLICOLOR 1
set -x LEDGER_FILE "$HOME/Dropbox/ledger/main.ledger"
set -x VAGRANT_HOME /mnt/orca/vagrant
set -x QMK_HOME "$HOME/projects/qmk_firmware"

set -x CDS_LIC_FILE 5280@ee-llic01.ee.ic.ac.uk
set -x SNPS_LICENSE_FILE 7182@ee-llic01.ee.ic.ac.uk
set -x MGLS_LICENSE_FILE 1717@ee-llic01.ee.ic.ac.uk
set -x LM_LICENSE_FILE 2100@ee-llic01.ee.ic.ac.uk:7193@ee-llic01.ee.ic.ac.uk:5280@ee-llic01.ee.ic.ac.uk:7182@ee-llic01.ee.ic.ac.uk:1717@ee-llic01.ee.ic.ac.uk

# nix section
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish

fish_add_path $HOME/.nix-profile/bin
fish_add_path $HOME/.local/bin
fish_add_path /usr/local/bin

function latestqr -d "Return the string corresponding to the latest QR code."
  ls -aS $HOME/Desktop | tail -n1 | tr \\n \\0 | xargs -0 -I% zbarimg --raw -q $HOME/Desktop/%
end

function ll; ls -lah $argv; end
function vim; nvim $argv; end

if status is-interactive
    # Commands to run in interactive sessions can go here
end

direnv hook fish | source

# opam configuration
source /Users/ymherklotz/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true