-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All PATH modifying places moved to single place.
- Loading branch information
Showing
4 changed files
with
60 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,72 @@ | ||
#!/bin/sh | ||
|
||
[ -f $HOME/.bash_aliases_priv ] && source $HOME/.bash_aliases_priv | ||
|
||
#dotnet | ||
alias dotnet-ef=$HOME/.dotnet/tools/dotnet-ef | ||
|
||
#tmux - force 256 colors mode | ||
alias tmux='tmux -2' | ||
|
||
#scripts | ||
|
||
alias cdrepo='cd $(repocd)' | ||
|
||
# programs | ||
alias vnc='remmina' | ||
#alias datagrip='setsid -f /home/matr/Programs/DataGrip-2022.3.2/bin/datagrip.sh &' | ||
|
||
alias castget='castget -C ~/.config/castget/castget.conf' | ||
alias news='newsboat ; pkill -RTMIN+10 dwmblocks' | ||
|
||
alias xlog='less $HOME/.local/share/xorg/Xorg.0.log' | ||
alias xlog1='less $HOME/.local/share/xorg/Xorg.1.log' | ||
alias ll="ls -l --color" | ||
|
||
[ -f $HOME/.bash_aliases_priv ] && source $HOME/.bash_aliases_priv | ||
# home git folder | ||
alias dot='git -C .dotfiles/ --work-tree=$HOME' | ||
|
||
alias ll="ls -l --color" | ||
# docker stop all | ||
alias dkill='docker stop $(docker ps -q)' | ||
|
||
# git | ||
|
||
# add | ||
alias gap='git add . --patch' | ||
# fetch | ||
alias gf='git fetch' | ||
alias gfa='git fetch --all' | ||
# push | ||
alias gp='git push -u origin "$(git branch --show-current)"' | ||
alias gpf='git push -u origin "$(git branch --show-current)" -f' | ||
# branch | ||
alias gbl='git branch -l' | ||
alias gbd='git branch -D' | ||
alias gb='git branch' | ||
# checkout | ||
alias gc='git checkout' | ||
alias gcb='git checkout -b' | ||
alias gcp='git checkout -p' | ||
# status | ||
alias gs='git status' | ||
# commit | ||
alias gcm='git commit' | ||
alias gcma='git commit --amend' | ||
alias gcmane='git commit --amend --no-edit' | ||
# rebase | ||
alias gr='git rebase --commiter-date-is-author-date' | ||
alias grc='git rebase --continue' | ||
alias gra='git rebase --abort' | ||
|
||
# reset | ||
alias grp='git reset -p' | ||
# log | ||
alias grl='git reflog' | ||
alias gl="git log --color --date=iso --format=fuller" | ||
# diff | ||
alias gd="git diff" | ||
alias gds="git diff --staged" | ||
# add | ||
alias gap='git add . --patch' | ||
|
||
# fetch | ||
alias gf='git fetch' | ||
alias gfa='git fetch --all' | ||
|
||
# push | ||
alias gp='git push -u origin "$(git branch --show-current)"' | ||
alias gpf='git push -u origin "$(git branch --show-current)" -f' | ||
|
||
# branch | ||
alias gbl='git branch -l' | ||
alias gbd='git branch -D' | ||
alias gb='git branch' | ||
|
||
# checkout | ||
alias gc='git checkout' | ||
alias gcb='git checkout -b' | ||
alias gcp='git checkout -p' | ||
|
||
# status | ||
alias gs='git status' | ||
|
||
# commit | ||
alias gcm='git commit' | ||
alias gcma='git commit --amend' | ||
alias gcmane='git commit --amend --no-edit' | ||
|
||
# rebase | ||
alias gr='git rebase --commiter-date-is-author-date' | ||
alias grc='git rebase --continue' | ||
alias gra='git rebase --abort' | ||
|
||
# reset | ||
alias grp='git reset -p' | ||
|
||
# log | ||
alias grl='git reflog' | ||
alias gl="git log --color --date=iso --format=fuller" | ||
|
||
# diff | ||
alias gd="git diff" | ||
alias gds="git diff --staged" | ||
|
||
# show all git aliases | ||
alias gal='cat $HOME/.bash_aliases | grep "alias g"' | ||
|
||
alias dot='git -C .dotfiles/ --work-tree=$HOME' | ||
|
||
# docker stop all | ||
alias dkill='docker stop $(docker ps -q)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters