# # ~/.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='\[\e[38;5;45m\][\[\e[38;5;69;1m\]\u\[\e[38;5;45m\]@\[\e[38;5;69m\]\h\[\e[0m\] \[\e[38;5;45;1m\]~\[\e[22m\]]\[\e[38;5;19m\]>\[\e[0m\] ' # FZF Integration [ -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 {}'"