-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.fish
45 lines (37 loc) · 1.2 KB
/
config.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Rust CLI replacements
alias ls="exa"
alias ll="exa -l"
alias cat="bat"
alias grep="rg"
alias dig="dog"
alias vim="nvim"
alias p="cd ~/Documents"
alias gitcf="git commit --amend; git push -f"
alias gitp="git checkout master; git pull"
alias gitr="git reset --hard HEAD"
alias gits="git status"
alias pr="cat ~/pr.md | pbcopy"
# Docker
alias dkill="docker ps -qa | xargs docker kill"
alias drm="docker ps -qa | xargs docker rm"
alias drmi="docker images -qa | xargs docker rmi -f"
alias dkara="dkill; drm; drmi"
# Wireshark
alias wireshark="/Applications/Wireshark.app/Contents/MacOS/Wireshark"
# Zellij
set ZELLIJ_CONFIG "$HOME/Documents/dotfiles/zellij/config.kdl"
alias zn="zellij --config $ZELLIJ_CONFIG"
alias zrf="zellif run floating"
set EDITOR "/opt/homebrew/bin/nvim"
set PATH "$HOME/.cargo/bin:$PATH"
set PATH "$HOME/.local/bin:$PATH"
set PATH "$HOME/.poetry/bin:$PATH"
set PATH "$HOME/go/bin:$PATH"
set PATH "/opt/homebrew/bin:$PATH"
status is-login; and pyenv init --path | source
pyenv init - | source 1>/dev/null
if test -e "$HOME/.config/cloudtoken/bashrc_additions"
source "$HOME/.config/cloudtoken/bashrc_additions"
end
set -x STARSHIP_CONFIG ~/.config/starship/starship.toml
starship init fish | source