arch-setup/files/Code - OSS/User/History/206c049d/NCcK

36 lines
1 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# ~/.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;69m\]⮞ \[\e[1;38;5;75m\]\u\[\e[0m\]@\[\e[38;5;69m\]\h \[\e[38;5;25m\]\w\n\[\e[38;5;33m\] \[\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 {}'"