nvim, lazygit, path
This commit is contained in:
parent
81bf9d3962
commit
41ef3f65f5
1 changed files with 4 additions and 2 deletions
6
.bashrc
6
.bashrc
|
@ -17,6 +17,7 @@ alias datefmt='date $DATEFMT'
|
||||||
alias gotemp="cd $(mktemp -d)"
|
alias gotemp="cd $(mktemp -d)"
|
||||||
alias fd=fdfind
|
alias fd=fdfind
|
||||||
alias bak=backup
|
alias bak=backup
|
||||||
|
alias gg=lazygit
|
||||||
|
|
||||||
export PS1='\[\e[1;31m\]\u@\h \[\e[1;36m\]\w\[\e[1;37m\] \$ \[\e[0m\]'
|
export PS1='\[\e[1;31m\]\u@\h \[\e[1;36m\]\w\[\e[1;37m\] \$ \[\e[0m\]'
|
||||||
export DEBEMAIL="software@cscherr.de"
|
export DEBEMAIL="software@cscherr.de"
|
||||||
|
@ -24,8 +25,9 @@ export DEBFULLNAME="Christoph J. Scherr"
|
||||||
export DEBIDENTITY="$DEBFULLNAME <$DEBEMAIL>"
|
export DEBIDENTITY="$DEBFULLNAME <$DEBEMAIL>"
|
||||||
export TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'
|
export TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'
|
||||||
export DATEFMT='+%a %Y-%m-%d %X'
|
export DATEFMT='+%a %Y-%m-%d %X'
|
||||||
export EDITOR=$(which vim)
|
export EDITOR=$(which nvim)
|
||||||
export VISUAL=$(which vim)
|
export VISUAL=$(which nvim)
|
||||||
|
export PATH=$PATH:/sbin
|
||||||
|
|
||||||
random () {
|
random () {
|
||||||
if [ $# -ne 1 ] || ! [[ $1 =~ ^[0-9]+$ ]] || [ $1 -lt 1 ]; then
|
if [ $# -ne 1 ] || ! [[ $1 =~ ^[0-9]+$ ]] || [ $1 -lt 1 ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue