Archive unused files, pending deletion
This commit is contained in:
49
archive/fish/config.fish
Normal file
49
archive/fish/config.fish
Normal file
@@ -0,0 +1,49 @@
|
||||
# ============
|
||||
# Basics, etc…
|
||||
# ============
|
||||
|
||||
# Default editor
|
||||
set -g -x EDITOR "emacsclient"
|
||||
set -g -x ALTERNATE_EDITOR "vim"
|
||||
set -g -x TERMINAL "kitty"
|
||||
|
||||
# Setup PATH
|
||||
ensure_path ~/.dotfiles/bin
|
||||
ensure_path ~/.local/bin
|
||||
ensure_path ~/bin
|
||||
ensure_path ~/.emacs.d/bin
|
||||
|
||||
# Disable Fish greeting banner
|
||||
set --universal fish_greeting
|
||||
|
||||
# Configuration for apps
|
||||
for app in ~/.config/fish/apps/*.fish
|
||||
source $app
|
||||
end
|
||||
|
||||
# OS-specific configuration
|
||||
source ~/.config/fish/os/os.fish
|
||||
|
||||
# Machine-local config
|
||||
if test -e ~/.config/fish/local.fish
|
||||
source ~/.config/fish/local.fish
|
||||
end
|
||||
|
||||
# Hybrid Vi Mode
|
||||
set -g fish_key_bindings hybrid_bindings
|
||||
|
||||
# Fix prompt for Emacs TRAMP
|
||||
# https://github.com/oh-my-fish/theme-bobthefish/issues/148
|
||||
if test "$TERM" = "dumb"
|
||||
function fish_prompt
|
||||
echo "\$ "
|
||||
end
|
||||
function fish_right_prompt; end
|
||||
function fish_greeting; end
|
||||
function fish_title; end
|
||||
end
|
||||
|
||||
# Starship prompt
|
||||
if which starship &> /dev/null
|
||||
starship init fish | source
|
||||
end
|
||||
Reference in New Issue
Block a user