瀏覽代碼

xonsh

pull/1/head
父節點
當前提交
2026283532
共有 5 個文件被更改,包括 20 次插入0 次删除
  1. +2
    -0
      defaults/main.yaml
  2. +1
    -0
      tasks/main.yaml
  3. +11
    -0
      tasks/xonsh.yaml
  4. +3
    -0
      templates/xfce4-terminal/terminalrc.j2
  5. +3
    -0
      templates/xonsh/xonshrc.j2

+ 2
- 0
defaults/main.yaml 查看文件

@@ -92,3 +92,5 @@ pulseaudio_jack_sink_client_name: PulseAudio
pulseaudio_jack_source_enabled: false
pulseaudio_jack_source_channels: 2
pulseaudio_jack_source_client_name: PulseAudio

home_use_xonsh_on_terminals: true

+ 1
- 0
tasks/main.yaml 查看文件

@@ -8,6 +8,7 @@
- import_tasks: pulseaudio.yaml
- import_tasks: git.yaml
- import_tasks: timer.yaml
- import_tasks: xonsh.yaml

- import_tasks: kanboard.yaml



+ 11
- 0
tasks/xonsh.yaml 查看文件

@@ -0,0 +1,11 @@
---

- name: xonsh pip
pip:
name: xonsh[full]
state: latest

- name: xonsh config
template:
src: xonsh/xonshrc.j2
dest: ~/.xonshrc

+ 3
- 0
templates/xfce4-terminal/terminalrc.j2 查看文件

@@ -31,3 +31,6 @@ ScrollingBar=TERMINAL_SCROLLBAR_NONE
BackgroundImageShading=0,530000
ScrollingUnlimited=TRUE
FontName=Monospace 12
{% if home_use_xonsh_on_terminals %}
CustomCommand=.local/bin/xonsh
{% endif %}

+ 3
- 0
templates/xonsh/xonshrc.j2 查看文件

@@ -0,0 +1,3 @@
{{ansible_managed|comment}}

xontrib load abbrevs coreutils