Address issues that cause shell lines to break
This commit is contained in:
parent
819c41de45
commit
fa7af5ee1f
@ -48,6 +48,8 @@ alias ping="ping -c 4"
|
|||||||
# Show progress while syncing
|
# Show progress while syncing
|
||||||
alias rsync="rsync --progress"
|
alias rsync="rsync --progress"
|
||||||
|
|
||||||
|
# Force a newline at the end of curl responses to prevent artifacting
|
||||||
|
alias curl="curl -w '\n'"
|
||||||
|
|
||||||
#{- SHELL INTROSPECTION -}#
|
#{- SHELL INTROSPECTION -}#
|
||||||
|
|
||||||
|
|||||||
15
bash/.bashrc
15
bash/.bashrc
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
#{- PROMPT -}#
|
#{- PROMPT -}#
|
||||||
|
|
||||||
red="\[\033[1;31m\]"
|
red="\001$(tput bold)$(tput setaf 1)\002"
|
||||||
green="\[\033[1;32m\]"
|
green="\001$(tput bold)$(tput setaf 2)\002"
|
||||||
yellow="\[\033[1;33m\]"
|
yellow="\001$(tput bold)$(tput setaf 3)\002"
|
||||||
blue="\[\033[1;34m\]"
|
blue="\001$(tput bold)$(tput setaf 4)\002"
|
||||||
magenta="\[\033[1;35m\]"
|
magenta="\001$(tput bold)$(tput setaf 5)\002"
|
||||||
cyan="\[\033[1;36m\]"
|
cyan="\001$(tput bold)$(tput setaf 6)\002"
|
||||||
no_color="\[\033[0m\]"
|
no_color="\001$(tput sgr0)\002"
|
||||||
|
|
||||||
|
|
||||||
export PS1="${green}\$${no_color} "
|
export PS1="${green}\$${no_color} "
|
||||||
if [ "${HOSTNAME}" != "crypt" ] && [ "${HOSTNAME}" != "tomb" ] || [ "${SSH_TTY}" != "" ]; then
|
if [ "${HOSTNAME}" != "crypt" ] && [ "${HOSTNAME}" != "tomb" ] || [ "${SSH_TTY}" != "" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user