-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbashrc
90 lines (71 loc) · 2.51 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
echo $(clear)
#echo -e '\n\e[01;30m ▚ \e[0;30m ▞ \e[01;31m ▚ \e[0;31m ▞ \e[01;32m ▚ \e[0;32m ▞ \e[01;33m ▚ \e[0;33m ▞ \e[01;34m ▚ \e[0;34m ▞ \e[01;35m ▚ \e[0;35m ▞ \e[01;36m ▚ \e[0;36m ▞ \e[01;37m ▚ \e[0;37m ▞'
reset=$(tput sgr0)
bold=$(tput bold)
#PS1="\n\[\e[0;37m\]┌─[\[\e[0;32m\u\e[0;37m\]]──[\e[1;37m\w\e[0;37m]──[\[\e[0;32m\]${HOSTNAME%%.*}\[\e[0;37m\]]\[\e[1;35m\]: \$\[\e[0;37m\]\n\[\e[0;37m\]└────╼ \[\e[1;37m\]>> \[\e[00;00m\]"
# Visualiza los ficheros y directorios
function cdls { cd "$1"; ls --color;}
alias cd='cdls'
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
# Transparencia Xterm
#[ -n "$XTERM_VERSION" ] && transset-df --id "$WINDOWID" >/dev/null
[ -n "$XTERM_VERSION" ] && sleep .1 && transset-df -a >/dev/null
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
#alias shit='history | grep'
#export LC_ALL=es_VE.UTF-8
# Colors:
# BLACK= '\e[0;30m'
# RED= '\e[0;31m'
# GREEN= '\e[0;32m'
# YELLOW= '\e[0;33m'
# BLUE= '\e[0;34m'
# MAGENT= '\e[0;35m'
# CYAN= '\e[0;36m'
# WHITE= '\e[0;37m'
# LIGHTBLACK= '\e[1;30m'
# LIGHTRED= '\e[1;31m'
# LIGHTGREEN= '\e[1;32m'
# LIGHTYELLOW= '\e[1;33m'
# LIGHTBLUE= '\e[1;34m'
# LIGHTMAGENT= '\e[1;35m'
# LIGHTCYAN= '\e[1;36m'
# LIGHTWHITE= '\e[1;37m'
# added by Anaconda3 installer
export PATH="/home/omar/anaconda3/bin:$PATH"
export PATH="/usr/lib/python3.6/site-packages/xcbgen:$PATH"
# added by Anaconda3 2018.12 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/home/omar/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
\eval "$__conda_setup"
else
if [ -f "/home/omar/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/omar/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
\export PATH="/home/omar/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda init <<<
VISUAL=vim; export VISUAL EDITOR=vim; export EDITOR