Change Xonsh history and CD settings
This commit is contained in:
parent
85a76f0db9
commit
c8a85784f9
@ -1,12 +1,17 @@
|
|||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
brew_prefix = $(brew --prefix).strip()
|
# --- Xonsh Settings ---
|
||||||
|
$XONSH_HISTORY_BACKEND = 'sqlite'
|
||||||
|
$HISTCONTROL='ignoredups'
|
||||||
|
$XONSH_SHOW_TRACEBACK = False
|
||||||
|
$SUGGEST_COMMANDS = False
|
||||||
|
|
||||||
# --- Path Variables ---
|
# --- Path Variables ---
|
||||||
#> Use MacOS path_helper executable
|
#> Use MacOS path_helper executable
|
||||||
source-bash $(/usr/libexec/path_helper -s)
|
source-bash $(/usr/libexec/path_helper -s)
|
||||||
|
|
||||||
|
brew_prefix = $(brew --prefix).strip()
|
||||||
$PATH = [
|
$PATH = [
|
||||||
brew_prefix + "/opt/bison/bin",
|
brew_prefix + "/opt/bison/bin",
|
||||||
brew_prefix + "/opt/flex/bin",
|
brew_prefix + "/opt/flex/bin",
|
||||||
@ -17,6 +22,8 @@ $PATH = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# --- General Environment ---
|
# --- General Environment ---
|
||||||
|
#> Xonsh Behaviour
|
||||||
|
$AUTO_CD = True
|
||||||
#> Default Editor
|
#> Default Editor
|
||||||
$EDITOR = "nvim"
|
$EDITOR = "nvim"
|
||||||
$VISUAL = "subl"
|
$VISUAL = "subl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user