# # ~/.bashrc # # Wenn nicht interaktiv, abbrechen [[ $- != *i* ]] && return # Bash Completion [[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ source /usr/share/bash-completion/bash_completion # Aliase alias ls='ls --color=auto' alias grep='grep --color=auto' alias ff='fastfetch' alias c='clear' alias wttr='curl wttr.in/dresden' alias m='cmatrix' alias pipes='pipes.sh' alias b='btop' alias mensa='/home/denode/go/motd.sh' alias q='exit' alias nv='nvim' alias ll='yazi' # Schöner Prompt PS1='\n\[\e[38;5;75m\]┌─[\[\e[38;5;33m\]\[\e[1m\]\u@\h\[\e[0m\] \[\e[38;5;170m\]\w\[\e[38;5;75m\]]\n\[\e[38;5;75m\]└─➤\[\e[0m\] ' [ -f /usr/share/fzf/key-bindings.bash ] && source /usr/share/fzf/key-bindings.bash [ -f /usr/share/fzf/completion.bash ] && source /usr/share/fzf/completion.bash export FZF_DEFAULT_COMMAND='fd --type f' export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always {} || cat {}'" export FZF_ALT_C_OPTS="--preview 'exa --tree --level=2 --color=always {}'"