|
@@ -14,7 +14,7 @@ $PROMPT_FIELDS['last_exit_status'] = _last_exit_status
|
|
|
|
|
|
$XONSH_STDERR_PREFIX = '{RED}'
|
|
|
$XONSH_STDERR_POSTFIX = '{NO_COLOR}'
|
|
|
-$DYNAMIC_CWD_WIDTH = '40%'
|
|
|
+$DYNAMIC_CWD_WIDTH = '30%'
|
|
|
$PROMPT = ''.join([
|
|
|
'{RED}{last_exit_status:[{}] }',
|
|
|
'{BOLD_GREEN}{user}@{hostname} ',
|
|
@@ -34,9 +34,11 @@ $EDITOR = 'vim'
|
|
|
# required by pinentry-tty when using gpg command:
|
|
|
$GPG_TTY = $(tty)
|
|
|
if shutil.which('gpgconf'):
|
|
|
+ # required by scute
|
|
|
+ $GPG_AGENT_INFO = $(gpgconf --list-dir agent-socket).rstrip() + ':0:1'
|
|
|
if not 'SSH_CLIENT' in ${...}:
|
|
|
# in gnupg 2.1.13 the location of agents socket changed
|
|
|
- $SSH_AUTH_SOCK=$(gpgconf --list-dir agent-ssh-socket).rstrip()
|
|
|
+ $SSH_AUTH_SOCK = $(gpgconf --list-dir agent-ssh-socket).rstrip()
|
|
|
# wrapper for termite required when launching termite from ranger:
|
|
|
$TERMCMD = os.path.join(os.path.dirname(__file__), 'ranger-termite-termcmd')
|
|
|
|