-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
37 lines (26 loc) · 779 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
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
export EDITOR=vim
export SYSTEMD_EDITOR=vim
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
export PATH=$PATH:/opt/pdf4teachers/bin/
export PATH=$PATH:/home/lld/.local/bin/
export PATH=$PATH:/opt/piavpn/bin/
export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git'
alias git='LANG=en_US.UTF-8 git'
term="$(cat /proc/$PPID/comm)"
# Change prompt for st
if [[ $term = "st" ]]; then
#transset-df "0.60" --id "$WINDOWID" >/dev/null
p='\[\033[01;36m\]\u\[\033[0;32m\]@\[\033[0;34m\]\h \[\033[0;39m\]\w\n>>> '
PS1=$p
fi
alias lpd='~/Downloads/lpd_cli.sh'