nvim, lazygit, path

This commit is contained in:
Christoph J. Scherr 2025-03-01 16:31:30 +01:00
parent 81bf9d3962
commit 41ef3f65f5
Signed by: PlexSheep
GPG key ID: 9EB784BB202BB7BB

View file

@ -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