1
0

Change Xonsh history and CD settings

This commit is contained in:
Jip J. Dekker 2022-09-19 10:53:11 +10:00
parent 85a76f0db9
commit c8a85784f9
No known key found for this signature in database
GPG Key ID: 517DF4A00618C9C3

View File

@ -1,12 +1,17 @@
import shutil
import sys
brew_prefix = $(brew --prefix).strip()
# --- Xonsh Settings ---
$XONSH_HISTORY_BACKEND = 'sqlite'
$HISTCONTROL='ignoredups'
$XONSH_SHOW_TRACEBACK = False
$SUGGEST_COMMANDS = False
# --- Path Variables ---
#> Use MacOS path_helper executable
source-bash $(/usr/libexec/path_helper -s)
brew_prefix = $(brew --prefix).strip()
$PATH = [
brew_prefix + "/opt/bison/bin",
brew_prefix + "/opt/flex/bin",
@ -17,6 +22,8 @@ $PATH = [
]
# --- General Environment ---
#> Xonsh Behaviour
$AUTO_CD = True
#> Default Editor
$EDITOR = "nvim"
$VISUAL = "subl"