dotfiles/.config/fish/config.fish

56 lines
1.6 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"
2024-01-02 12:50:00 -05:00
set -x XDG_DATA_HOME $HOME/.local/share
2023-08-27 06:01:33 -04:00
set -x DOCKER_CONFIG "$XDG_CONFIG_HOME/docker"
set -x CARGO_HOME "$XDG_DATA_HOME/cargo"
set -x RUSTUP_HOME "$XDG_DATA_HOME/rustup"
2024-01-02 12:50:00 -05:00
set -x RUSTUP_HOME "$XDG_DATA_HOME/rustup"
set -x WINEPREFIX "$XDG_DATA_HOME/wine/"
2023-08-27 06:01:33 -04:00
set -x JUPYTER_CONFIG_DIR "$XDG_CONFIG_HOME/jupyter"
set -x ANDROID_HOME "$XDG_DATA_HOME/android"
2024-01-02 12:50:00 -05:00
set -x _CONDA_ROOT "/opt/anaconda"
2023-08-27 06:01:33 -04:00
alias ls="lsd"
2024-01-02 12:50:00 -05:00
alias v="vim"
alias nv="nvim"
alias gc="git clone"
alias gst="git status"
alias bat="bat -p"
alias la="lsd -la"
2023-08-14 19:28:08 -04:00
2024-01-02 12:50:00 -05:00
set -U fish_user_paths $HOME/bin $fish_user_paths
set -U fish_user_paths $HOME/.local/bin $fish_user_paths
alias dotfiles="git --git-dir=/home/q/repos/dotfiles --work-tree=$HOME"
2023-08-14 19:28:08 -04:00
alias chromium-browser-stable="chromium-browser-stable --disable-gpu --disable-software-rasterizer"
2024-01-02 12:50:00 -05: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"
2024-01-02 12:50:00 -05:00
set srcdir "$HOME/.cache/"
set pkgdir "$HOME/.npm/"
alias npm="npm --cache $srcir/npm-cache"
2023-07-10 06:53:13 -04:00
2024-01-02 12:50:00 -05:00
set fish_greeting
# Commands to run in interactive sessions can go here
2022-10-21 06:15:28 -04:00
end
2024-01-02 12:50:00 -05:00
# !! Contents within this block are managed by 'conda init' !!
# if test -f /opt/anaconda/bin/conda
# eval /opt/anaconda/bin/conda "shell.fish" "hook" $argv | source
# end