-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.fish
executable file
·38 lines (33 loc) · 918 Bytes
/
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
# Aliases
## Shell aliases
alias ll "ls -l"
alias lal "ls -al"
## Source my default fish config
alias srcfish "source ~/.config/fish/config.fish"
## Git aliases
alias ga "git add"
alias gb "git branch"
alias gc "git commit --untracked-files=no"
alias gch "git checkout"
alias gcp "git cherry-pick"
alias gd "git diff"
alias gdc "git diff --cached"
alias gf "git fetch"
alias gl "git log"
alias glaf "git log --all --full-history"
alias glo "git log --oneline"
alias gpr "git pull --rebase"
alias gpsh "git push"
alias gpshf "git push --force"
alias grb "git rebase"
alias grmt "git remote"
alias grs "git reset"
alias gs "git status --untracked-files=no"
alias gsu "git status"
alias gsh "git show"
alias gshf "git show --pretty="" --name-only"
alias grv "git remote -v"
# Docker aliases
alias dc "docker compose"
# PATH
set PATH "$PATH:/home/agrawpri/.local/bin:/home/agrawpri/kafka/bin:/home/agrawpri/idea/bin"