mirror of
https://github.com/meineerde/dotfiles.git
synced 2025-10-17 19:41:01 +00:00
Fixed promt and added homebrews python bons to $PATH
This commit is contained in:
parent
517df0c895
commit
30e0ad240e
10
.bashrc
10
.bashrc
@ -88,7 +88,7 @@ case `uname` in
|
|||||||
fi
|
fi
|
||||||
function fullscreen() { printf "\e[3;0;0;t\e[8;0;0t"; return 0; }
|
function fullscreen() { printf "\e[3;0;0;t\e[8;0;0t"; return 0; }
|
||||||
alias ls='ls -G'
|
alias ls='ls -G'
|
||||||
for p in /usr/local/*/bin /usr/*/bin; do
|
for p in /usr/local/*/bin /usr/*/bin /usr/local/Cellar/python/*/bin; do
|
||||||
export PATH=$p:$PATH
|
export PATH=$p:$PATH
|
||||||
done
|
done
|
||||||
unset p
|
unset p
|
||||||
@ -153,8 +153,8 @@ ps1_ruby='$(rvm-prompt)'
|
|||||||
|
|
||||||
. $HOME/bin/bash_vcs.sh
|
. $HOME/bin/bash_vcs.sh
|
||||||
ps1_vcs='$(__prompt_command)'
|
ps1_vcs='$(__prompt_command)'
|
||||||
#ps1_ruby=' \[\033[33m\]$(rvm-prompt)\[\033[00m\]'
|
ps1_ruby=' \[\033[0;34m\]$(rvm-prompt v g)\[\033[00m\]'
|
||||||
ps1_ruby=""
|
#ps1_ruby=""
|
||||||
|
|
||||||
# set variable identifying the chroot you work in (used in the prompt below)
|
# set variable identifying the chroot you work in (used in the prompt below)
|
||||||
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
||||||
@ -171,8 +171,8 @@ short_pwd() {
|
|||||||
echo "$FIXED_PWD"
|
echo "$FIXED_PWD"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
#ps1_pwd='$(short_pwd)'
|
ps1_pwd='\[\033[1;30m\]$(short_pwd)\[\033[00m\]'
|
||||||
ps1_pwd='\[\033[1;30m\]\W\[\033[00m\]'
|
#ps1_pwd='\[\033[1;30m\]\W\[\033[00m\]'
|
||||||
|
|
||||||
# Building $PS1.
|
# Building $PS1.
|
||||||
if [ -n "$ps1_user" ] && [ -n "$ps1_host" ]; then ps1_user="$ps1_user@"; fi
|
if [ -n "$ps1_user" ] && [ -n "$ps1_host" ]; then ps1_user="$ps1_user@"; fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user