-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
41 lines (35 loc) · 1.45 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
# ~/.bashrc: executed by bash(1) for non-login shells.
# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022
EDITOR="vim"
VISUAL="vim"
# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
alias ls="ls --color=auto"
alias ll='ls -alF'
alias l='ls -CF'
alias cnc='cd .wine/drive_c/Program\ Files/Electronic\ Arts/Command\ \&\ Conquer\ 4\ Tiberian\ Twilight/'
alias startcnc='wine Data/CNC4.game -config "..\CNC4_German.SkuDef"'
[ ! "$UID" = "0" ] && archey3 -c blue
[ "$UID" = "0" ] && archey3 -c red
PS1="\[\e[01;31m\]┌─[\[\e[01;35m\u\e[01;31m\]]──[\[\e[00;37m\]${HOSTNAME%%.*}\[\e[01;32m\]]:\w$\[\e[01;31m\]\n\[\e[01;31m\]└──\[\e[01;36m\]>>\[\e[0m\]"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
if [ -f $(brew --prefix)/etc/bash_completion ]; then source $(brew --prefix)/etc/bash_completion; fi
## vars for python path
export pyver="3.9"
export pysubver="3.9.1_3"
## python $pyver path
#export PATH="/uer/local/Cellar/python@$pyver/$pysubver/Frameworks/Python.framework/Versions/$pyver/bin"-
#alias python='python3'
alias python="/usr/local/bin/python$pyver"