init
This commit is contained in:
commit
41664bc2e1
3 changed files with 62 additions and 0 deletions
2
README.md
Normal file
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# 🐟 fish shell configuration
|
||||
This repo is a collection of useful fish shell functions and configs.
|
29
config.fish
Normal file
29
config.fish
Normal file
|
@ -0,0 +1,29 @@
|
|||
if status is-interactive
|
||||
# Starship Prompt
|
||||
starship init fish | source
|
||||
end
|
||||
|
||||
# Disable Greeting
|
||||
set fish_greeting
|
||||
|
||||
# Add binary paths
|
||||
set -gx PATH $HOME/.local/bin $HOME/.cargo/bin $HOME/bin $PATH
|
||||
|
||||
# Env Vars
|
||||
set -gx EDITOR "micro"
|
||||
set -gx TERMUX_ROOT "/data/data/com.termux/files"
|
||||
|
||||
alias ls='eza'
|
||||
alias l='eza -l'
|
||||
alias la='eza -la'
|
||||
alias cat='bat -p'
|
||||
alias gfold='gfold -d classic'
|
||||
|
||||
# Rust
|
||||
set -gx RUST_LOG info
|
||||
|
||||
function enable_bitwarden_ssh_socket
|
||||
set -gx SSH_AUTH_SOCK "/home/angelo/.bitwarden-ssh-agent.sock"
|
||||
end
|
||||
|
||||
set -gx GPG_TTY $(tty)
|
31
fish_variables
Normal file
31
fish_variables
Normal file
|
@ -0,0 +1,31 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3800
|
||||
SETUVAR fish_color_autosuggestion:brblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:normal
|
||||
SETUVAR fish_color_comment:red
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:green
|
||||
SETUVAR fish_color_error:brred
|
||||
SETUVAR fish_color_escape:brcyan
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:brcyan
|
||||
SETUVAR fish_color_param:cyan
|
||||
SETUVAR fish_color_quote:yellow
|
||||
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:yellow\x1e\x2di
|
||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
Loading…
Add table
Add a link
Reference in a new issue