feat(fish): update configuration for fish with improved tools
This commit is contained in:
@@ -2,13 +2,23 @@ if status is-interactive
|
|||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set GPG_TTY $(tty)
|
||||||
|
set fish_greeting ""
|
||||||
|
|
||||||
|
# Docker
|
||||||
alias dc="docker compose"
|
alias dc="docker compose"
|
||||||
alias dl="docker logs"
|
alias dl="docker logs"
|
||||||
alias de="docker exec"
|
alias de="docker exec"
|
||||||
alias dps="docker ps --format 'table {{.Names}}\t{{printf \"%-20s\" .Status}}'"
|
alias dps="docker ps --format 'table {{.Names}}\t{{printf \"%-20s\" .Status}}'"
|
||||||
|
|
||||||
|
# Kubernetes
|
||||||
alias k kubectl
|
alias k kubectl
|
||||||
alias kn "kubectl config set-context --current --namespace"
|
alias kn "kubectl config set-context --current --namespace"
|
||||||
|
|
||||||
# Enable zoxide
|
# Enable zoxide
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|
||||||
|
# Improve utilities
|
||||||
|
alias rm "trash -v"
|
||||||
|
alias ll "eza -l"
|
||||||
|
alias ls "eza"
|
||||||
|
|||||||
Reference in New Issue
Block a user