Try handling zsh again

This commit is contained in:
Anthony Rose 2022-09-14 21:42:53 +01:00
parent ad0b8dbf02
commit d00794487f
3 changed files with 10 additions and 2 deletions

View file

@ -9,7 +9,6 @@ export LANG=C
export PAGER=less
export PAPERSIZE=a4
export POWERSHELL_TELEMETRY_OPTOUT=1
export PS1="${PS1:-\$\ }"
export PYTHONWARNINGS=ignore::UserWarning
# Set up XDG variables. See:
@ -75,7 +74,10 @@ then
bind 'set bell-style none'
bind 'set completion-ignore-case on'
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
_acp_add_path () {

View file

@ -0,0 +1,2 @@
#!/bin/zsh
emulate sh -c '. "$HOME/.bash_profile"'

View file

@ -21,3 +21,7 @@
ansible.builtin.copy:
src: bashrc
dest: "{{ ansible_env.HOME }}/.bashrc"
- name: Create $HOME/.zprofile
ansible.builtin.copy:
src: zprofile
dest: "{{ ansible_env.HOME }}/.zprofile"