Rework shell
This commit is contained in:
parent
600732234b
commit
2da1116e9d
3 changed files with 0 additions and 34 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
# XDG
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
export XDG_DATA_HOME=$XDG_CONFIG_HOME/local/share
|
||||
export XDG_CACHE_HOME=$XDG_CONFIG_HOME/cache
|
||||
|
||||
# editor
|
||||
export EDITOR="vim"
|
||||
|
||||
# zsh
|
||||
export HISTFILE="$HOME/.zhistory" # History filepath
|
||||
export HISTSIZE=10000 # Maximum events for internal history
|
||||
export SAVEHIST=10000 # Maximum events in history file
|
|
@ -1,6 +0,0 @@
|
|||
# load commonrc which is shared by all shell types
|
||||
[ -f /etc/commonrc ] && . /etc/commonrc
|
||||
[ -f /etc/.zshenv ] && . /etc/.zshenv
|
||||
[ -f {{ ZSH_DIR }}/00-keybinds ] && . {{ ZSH_DIR }}/00-keybinds
|
||||
|
||||
export LANG=en_US.UTF-8
|
|
@ -24,17 +24,3 @@ system_shell_profile:
|
|||
- mode: '0644'
|
||||
- require:
|
||||
- system_shell_pkgs
|
||||
|
||||
system_shell_zsh_include_profile:
|
||||
file.managed:
|
||||
- name: /etc/.zshrc
|
||||
- source: salt://{{ tpldir }}/files/shell_zshrc.jinja
|
||||
- template: jinja
|
||||
- context:
|
||||
ZSH_DIR: {{ noveria.zsh_dir }}
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: '0644'
|
||||
- makedirs: false
|
||||
- require:
|
||||
- system_shell_profile
|
||||
|
|
Loading…
Reference in a new issue