shortcut-sync robustness

This commit is contained in:
Luke 2018-02-23 11:14:38 -07:00
parent 21815f0a16
commit a3039e3055
3 changed files with 0 additions and 8 deletions

View file

@ -1,9 +1,6 @@
stty -ixon stty -ixon
shopt -s autocd #Allows you to cd into directory merely by typing the directory name. shopt -s autocd #Allows you to cd into directory merely by typing the directory name.
# For directory and config shortcuts:
source ~/.bash_shortcuts
# Setting Bash prompt. Capitalizes username and host if root user (my root user uses this same config file). # Setting Bash prompt. Capitalizes username and host if root user (my root user uses this same config file).
if [ "$EUID" -ne 0 ] if [ "$EUID" -ne 0 ]
then export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" then export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]"

View file

@ -1581,5 +1581,3 @@ config.bind('y', 'prompt-accept yes', mode='prompt')
## Bindings for register mode ## Bindings for register mode
config.bind('<Escape>', 'leave-mode', mode='register') config.bind('<Escape>', 'leave-mode', mode='register')
config.source('shortcuts.py')

View file

@ -515,6 +515,3 @@ map Tn eval fm.open_console('shell eyeD3 -n "" ' + fm.thisfile.relative_path, po
#Downloading #Downloading
map ytv console shell youtube-dl -ic%space map ytv console shell youtube-dl -ic%space
map yta console shell youtube-dl -xic%space map yta console shell youtube-dl -xic%space
# Shortcuts
source ~/.config/ranger/shortcuts.conf