-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
40 lines (34 loc) · 973 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
#end fedora
alias ls='ls --color=auto'
alias l='ls -lrt'
alias ll='eza -lr -snew'
alias ..='cd ..'
alias cp='cp -ivr'
alias rm='rm -I'
alias mv='mv -i'
alias p="ps aux | grep "
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
PS1='\[$(tput setaf 49)\]\u\[$(tput setaf 69)\]@\[$(tput setaf 202)\]\h \[$(tput setaf 91)\]\w \[$(tput sgr0)\]$ '
fi
#source /usr/share/fzf/key-bindings.bash
#Variables
export HISTSIZE='10000'
export HISTFILESIZE='10000'
export EDITOR='vim'
export LESS_TERMCAP_mb=$'\e[1;32m'
export LESS_TERMCAP_md=$'\e[1;32m'
export LESS_TERMCAP_me=$'\e[0m'
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[01;33m'
export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[1;4;31m'
source '$HOME/.config/key-bindings.bash'