dotfiles/dot_config/fish/conf.d/00-init.fish.tmpl
punkfairie 7dd8b445ca
Update .config/fish/conf.d/00-init.fish
Remove .config/fish/conf.d/10-apple-keyboard.fish
Update .config/fish/conf.d/20-gpg.fish
Update .config/fish/conf.d/30-git.fish
Change attributes of .config/fish/conf.d/30-glamour.fish
2024-09-29 20:57:09 -07:00

30 lines
679 B
Fish

#!/usr/bin/env fish
# Base path.
set -Ux fish_user_paths "$HOME/.local/bin"
# Config files.
set -Ux XDG_CONFIG_HOME "$HOME/.config"
set -Ux XDG_CACHE_HOME "$HOME/.cache"
set -Ux XDG_DATA_HOME "$HOME/.local/share"
set -Ux XDG_STATE_HOME "$HOME/.local/state"
# Machine info.
set -gx OS "$(uname)"
if command -v hostnamectl &>/dev/null
set -gx HOST "$(hostnamectl --static)"
else if command -v scutil &>/dev/null # macOS
set -gx HOST "$(scutil --get ComputerName)"
end
# Projects dir.
set -gx HACK "$HOME/hackin"
# Editor.
set -gx EDITOR nvim
set -gx VISUAL "$EDITOR"
set -gx SUDO_EDITOR "$EDITOR"
# Use vi key bindings.
set -g fish_key_bindings fish_vi_key_bindings