Update bashrc and prompt
Signed-off-by: Aleksandar 'The Cobra' Widulski <thecobra@riseup.net>
This commit is contained in:
parent
c24d18fbf4
commit
28efe8e906
8
.bashrc
8
.bashrc
|
@ -1,5 +1,3 @@
|
|||
case $_ in *i*) :;; *) return;; esac
|
||||
|
||||
# Source prompt
|
||||
. ~/.prompt
|
||||
|
||||
|
@ -20,7 +18,7 @@ alias bashrc="$EDITOR ~/.bashrc && rebash"
|
|||
alias nf='neofetch'
|
||||
alias sshd='boas /usr/sbin/sshd'
|
||||
alias ga='git add'
|
||||
alias gc='git commit -sm'
|
||||
alias gc='git commit -s'
|
||||
alias gp='git push'
|
||||
|
||||
# Completions for elevation program (https://codeberg.org/Bowuigi/Unit21 in management/boas)
|
||||
|
@ -64,3 +62,7 @@ urlencode() {
|
|||
done
|
||||
LC_COLLATE=$LC_COLLATE_OLD
|
||||
}
|
||||
|
||||
diffhome() { find . -type f -regex '\./\.[^g].*' -exec diff -q ~/{} {} \;; }
|
||||
|
||||
fixdh() { find . -type f -regex '\./\.[^g].*' -exec diff -q ~/{} {} \; | awk '{print $2 " " $4}' | while read -r line; do cp $line; done; }
|
||||
|
|
Loading…
Reference in New Issue