-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
25 lines (20 loc) · 828 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
color_prompt=yes
#homeuser="$(find /home/ -name ".bash_history" 2>/dev/null |awk -F"/" '{print $3}' |head -n1)"
#or use ( if you have many users in home directory) ->
#homeuser="$(who | cut -d' ' -f1 | grep 'you_user' |head -n1)"
#or
#homeuser="$(find /home/ -name ".bash_history" 2>/dev/null |awk -F"/" '{print $3}' |grep 'you_user' |head -n1)"
############### source
#source /home/$homeuser/.start-screen #if you have trouble with rsync or scp -> comment this line
source $HOME/.source-user
complete -cf se
#setxkbmap -option caps:none
#eval $(keychain --eval --agents ssh -Q --quiet ~/.ssh/keys/1_id $HOME/.ssh/keys/05_id $HOME/.ssh/keys/123_id)
#source $HOME/.keychain/$HOSTNAME-sh
#comment ------------------------------
#if [[ $- != *i* ]] ; then
# return
#fi
#if [ -z "$PS1" ]; then
# return
#fi