This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Se modifica el archivo en modo adminitrador: | |
| ~ sudo [nombre_editor] /etc/environment/ | |
| y se agregan estas líneas | |
| no_proxy="127.0.0.1,localhost" | |
| NO_PROXY="127.0.0.1,localhost" | |
| all_proxy=socks://172.21.0.12:3128/ | |
| ALL_PROXY=socks://172.21.0.12:3128/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ -f /etc/bash_completion ]; then | |
| source /etc/bash_completion | |
| fi | |
| __has_parent_dir () { | |
| # Utility function so we can test for things like .git/.hg without firing up a | |
| # separate process | |
| test -d "$1" && return 0; | |
| current="." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #copiar en el archivo bashrc | |
| export PS1='\u@\h:\w\[\033[32m\]$(__git_ps1 " (%s)")\[\033[0m\]$ ' | |
| export GIT_PS1_SHOWDIRTYSTATE=true | |
| export GIT_PS1_SHOWSTASHSTATE=true | |
| export GIT_PS1_SHOWUNTRACKEDFILES=true | |
| export GIT_PS1_SHOWUPSTREAM="auto" |