feat: add omz setup
This commit is contained in:
parent
67320b4e5d
commit
372fc636d7
2 changed files with 25 additions and 0 deletions
|
@ -49,3 +49,23 @@ function which_alias {
|
|||
# Ensures that passphrases can be entered when signing
|
||||
# git commits.
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
############
|
||||
# CONFIG #
|
||||
############
|
||||
|
||||
# Basic ZSH things.
|
||||
export ZSH="/home/marc/.oh-my-zsh"
|
||||
ZSH_THEME="lambda"
|
||||
plugins=(git)
|
||||
|
||||
# OMZ configuration.
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
#Initialize Starship prompt
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
unsetopt autocd
|
||||
|
||||
# Local binaries.
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
pkg:
|
||||
- zsh
|
||||
- tmux
|
||||
- name: Install OMZsh
|
||||
shell: |
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
args:
|
||||
creates: "{{ lookup('ansible.builtin.env', 'HOME') }}/.oh-my-zsh"
|
||||
- name: Install CLI tooling
|
||||
apt:
|
||||
pkg:
|
||||
|
|
Loading…
Reference in a new issue