Try handling zsh again
This commit is contained in:
parent
ad0b8dbf02
commit
d00794487f
3 changed files with 10 additions and 2 deletions
|
@ -9,7 +9,6 @@ export LANG=C
|
||||||
export PAGER=less
|
export PAGER=less
|
||||||
export PAPERSIZE=a4
|
export PAPERSIZE=a4
|
||||||
export POWERSHELL_TELEMETRY_OPTOUT=1
|
export POWERSHELL_TELEMETRY_OPTOUT=1
|
||||||
export PS1="${PS1:-\$\ }"
|
|
||||||
export PYTHONWARNINGS=ignore::UserWarning
|
export PYTHONWARNINGS=ignore::UserWarning
|
||||||
|
|
||||||
# Set up XDG variables. See:
|
# Set up XDG variables. See:
|
||||||
|
@ -75,7 +74,10 @@ then
|
||||||
bind 'set bell-style none'
|
bind 'set bell-style none'
|
||||||
bind 'set completion-ignore-case on'
|
bind 'set completion-ignore-case on'
|
||||||
bind 'set enable-bracketed-paste off'
|
bind 'set enable-bracketed-paste off'
|
||||||
export PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] "
|
PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] "
|
||||||
|
elif [ -n "$ZSH_VERSION" ]
|
||||||
|
then
|
||||||
|
PS1="%B%n@%m%#%b "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_acp_add_path () {
|
_acp_add_path () {
|
||||||
|
|
2
roles/home-cli/files/zprofile
Normal file
2
roles/home-cli/files/zprofile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
emulate sh -c '. "$HOME/.bash_profile"'
|
|
@ -21,3 +21,7 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: bashrc
|
src: bashrc
|
||||||
dest: "{{ ansible_env.HOME }}/.bashrc"
|
dest: "{{ ansible_env.HOME }}/.bashrc"
|
||||||
|
- name: Create $HOME/.zprofile
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: zprofile
|
||||||
|
dest: "{{ ansible_env.HOME }}/.zprofile"
|
||||||
|
|
Loading…
Reference in a new issue