xonsh¶
v0.11.0
`pip install xonsh[full]'
(2019)Windows10 xonsh on bash
(2019)xonshの導入と使い方のメモ
(2019)xonshが超カッコイイ話
(2019xonsh 始めました + xonshrc 弄って oh-my-fish/yimmy inspired な見た目にする
設定¶
~/.config/xonsh/rc.xsh
~/.xonshrc
(2018)2018年のxonshrc
$VI_MODE = True
$XONSH_COLOR_STYLE = 'native'
$XONSH_SHOW_TRACEBACK = True
xontrib load powerline2
https://pypi.org/project/xontrib-powerline2/
vim¶
au BufNewFile,BufRead .xonshrc setf python
prompt¶
git¶
vscode¶
settings.json
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [
"/k",
"chcp",
"65001"
],
"icon": "terminal-cmd"
},
"xonsh": {
"path": [
"C:/Python310/Scripts/xonsh.exe",
],
}
}
callable alias¶
(2017)Xonshでコマンドを作る