Compare commits

...

2 commits

Author SHA1 Message Date
GaspardCulis
4b3c56934d
bash -> exec: Launching tmux on start is a bad idea atm 2024-06-03 09:31:24 +02:00
GaspardCulis
4e812ac0d9
bash -> aliases: Added aliases for lsd 2024-06-03 09:13:55 +02:00
2 changed files with 8 additions and 3 deletions

View file

@ -22,9 +22,14 @@ fi
fi
# Generic stuff
alias ls="ls --color=auto"
if command -v lsd &> /dev/null; then
alias ld="lsd"
alias l="lsd -alh"
else
alias ls="ls --color=auto"
alias l="ls -alh --color=auto"
fi
alias ip="ip --color=auto"
alias l="ls -alh --color=auto"
alias tld="tree -L 2"
alias mnt-s3="s3fs public ${S3_MOUNTPOINT} -o passwd_file=${HOME}/.passwd-s3fs -o host=${S3_HOST} -o endpoint=${S3_ENDPOINT}"

View file

@ -6,7 +6,7 @@ if [ "$(tty)" = /dev/tty1 ]; then
fi
# Start in tmux by default
[[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux
# [[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
jaaj