dotfiles/.config/fish/config.fish

50 lines
1.3 KiB
Fish
Raw Normal View History

2023-08-14 19:28:08 -04:00
if status --is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1
exec Hyprland > ~/.hyprland.log
end
end
2022-10-21 06:15:28 -04:00
if status is-interactive
2023-08-27 06:01:33 -04:00
set -x XDG_CONFIG_HOME "$HOME/.config"
set -x XDG_STATE_HOME "$HOME/.local/state"
set -x XDG_CACHE_HOME "$HOME/.cache"
set -x DOCKER_CONFIG "$XDG_CONFIG_HOME/docker"
set -x CARGO_HOME "$XDG_DATA_HOME/cargo"
set -x RUSTUP_HOME "$XDG_DATA_HOME/rustup"
set -x WINEPREFIX "$XDG_DATA_HOME/wine"
set -x JUPYTER_CONFIG_DIR "$XDG_CONFIG_HOME/jupyter"
set -x ANDROID_HOME "$XDG_DATA_HOME/android"
alias ls="lsd"
2023-03-12 16:09:11 -04:00
alias v="vim"
alias nv="nvim"
2022-10-21 06:15:28 -04:00
alias gc="git clone"
alias gst="git status"
alias bat="bat -p"
2023-03-12 16:09:11 -04:00
alias la="lsd -la"
2023-08-14 19:28:08 -04:00
2023-03-12 16:09:11 -04:00
set -U fish_user_paths $HOME/bin $fish_user_paths
2023-08-14 19:28:08 -04:00
set -U fish_user_paths $HOME/.local/bin $fish_user_paths
alias dotfiles="git --git-dir=/home/q/repos/dotfiles --work-tree=$HOME"
alias chromium-browser-stable="chromium-browser-stable --disable-gpu --disable-software-rasterizer"
2023-03-12 16:09:11 -04:00
set -x PF_INFO "ascii title os kernel wm shell pkgs memory"
2023-08-14 19:28:08 -04:00
set -x TERM "xterm-256color"
2023-05-14 05:06:12 -04:00
set -x EDITOR "nvim"
2023-08-14 19:28:08 -04:00
set -x VISUAL "nvim"
2023-05-14 05:06:12 -04:00
set -x XDG_DATA_HOME $HOME/.local/share
2022-10-21 06:15:28 -04:00
2023-03-12 16:09:11 -04:00
set srcdir "$HOME/.cache/"
set pkgdir "$HOME/.npm/"
alias npm="npm --cache $srcir/npm-cache"
2023-07-10 06:53:13 -04:00
2023-03-12 16:09:11 -04:00
set fish_greeting
# Commands to run in interactive sessions can go here
2022-10-21 06:15:28 -04:00
end