feat: add omz setup

This commit is contained in:
Marc 2024-05-20 16:13:14 -04:00
parent 67320b4e5d
commit 372fc636d7
Signed by: marc
GPG key ID: 048E042F22B5DC79
2 changed files with 25 additions and 0 deletions

View file

@ -49,3 +49,23 @@ function which_alias {
# Ensures that passphrases can be entered when signing # Ensures that passphrases can be entered when signing
# git commits. # git commits.
export GPG_TTY=$(tty) 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

View file

@ -13,6 +13,11 @@
pkg: pkg:
- zsh - zsh
- tmux - 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 - name: Install CLI tooling
apt: apt:
pkg: pkg: