67 lines
1.3 KiB
Bash
67 lines
1.3 KiB
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
alias mkdir="mkdir -p"
|
|
alias cp="cp -r"
|
|
alias rm="rm -rf"
|
|
alias ls="ls -a --color"
|
|
alias bat="bat -f"
|
|
alias grep="grep --color=auto"
|
|
alias shutdown="shutdown now"
|
|
alias l="ls"
|
|
alias zed="zeditor"
|
|
alias sudo="sudo -E"
|
|
alias q="hyprland"
|
|
alias reload="source ~/.bashrc"
|
|
alias update="paru -Syu --noconfirm && flatpak update --noninteractive"
|
|
alias paru="paru --bottomup --assume-installed ttf-font"
|
|
alias lah='ls -lah'
|
|
alias fd='fd -H'
|
|
|
|
if [ "$TERM" = "linux" ]; then
|
|
printf "
|
|
\033]P0191724
|
|
\033]P1eb6f92
|
|
\033]P231748f
|
|
\033]P3f6c177
|
|
\033]P49ccfd8
|
|
\033]P5c4a7e7
|
|
\033]P6ebbcba
|
|
\033]P7e0def4
|
|
\033]P86e6a86
|
|
\033]P9eb6f92
|
|
\033]PA31748f
|
|
\033]PBf6c177
|
|
\033]PC9ccfd8
|
|
\033]PDc4a7e7
|
|
\033]PEebbcba
|
|
\033]PFe0def4
|
|
"
|
|
fi
|
|
|
|
clear
|
|
tfetch
|
|
|
|
PS1='\n[ \e[35;1m\u \e[34m\w\e[0m ]\n\e[1m\$ \e[0m'
|
|
complete -cf sudo
|
|
|
|
export GDK_SCALE=1
|
|
export EDITOR=nvim
|
|
export VISUAL=nvim
|
|
export INPUTRC=~/.inputrc
|
|
|
|
export FZF_DEFAULT_OPTS="
|
|
--color=fg:#908caa,bg:#191724,hl:#ebbcba
|
|
--color=fg+:#e0def4,bg+:#26233a,hl+:#ebbcba
|
|
--color=border:#403d52,header:#31748f,gutter:#191724
|
|
--color=spinner:#f6c177,info:#9ccfd8
|
|
--color=pointer:#c4a7e7,marker:#eb6f92,prompt:#908caa"
|
|
|
|
eval "$(starship init bash)"
|
|
eval "$(fzf --bash)"
|
|
eval "$(zoxide init --cmd cd bash)"
|