mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-22 07:15:25 +00:00
Added ZSH + ohmyzsh
This commit is contained in:
parent
061cca81b5
commit
bcecaa589b
2 changed files with 15 additions and 0 deletions
|
@ -2,11 +2,13 @@
|
||||||
become: true
|
become: true
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
- zsh
|
||||||
- curl
|
- curl
|
||||||
- bat
|
- bat
|
||||||
- wget
|
- wget
|
||||||
- git
|
- git
|
||||||
- flatpak
|
- flatpak
|
||||||
|
- ranger
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Some more packages (RedHat based)
|
- name: Some more packages (RedHat based)
|
||||||
|
@ -22,6 +24,17 @@
|
||||||
dest: ~/.gitconfig
|
dest: ~/.gitconfig
|
||||||
force: no
|
force: no
|
||||||
|
|
||||||
|
- name: Setting up oh-my-zsh
|
||||||
|
git:
|
||||||
|
repo: https://github.com/ohmyzsh/ohmyzsh.git
|
||||||
|
dest: ~/.oh-my-zsh
|
||||||
|
|
||||||
|
- name: Making sure to use ZSH as shell
|
||||||
|
become: true
|
||||||
|
user:
|
||||||
|
name: "{{ running_user }}"
|
||||||
|
shell: /bin/zsh
|
||||||
|
|
||||||
- name: Copy zsh config
|
- name: Copy zsh config
|
||||||
copy:
|
copy:
|
||||||
src: dotfiles/zshrc
|
src: dotfiles/zshrc
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
vars:
|
vars:
|
||||||
# Theme options: monokai, gruvbox, nord
|
# Theme options: monokai, gruvbox, nord
|
||||||
theme: nord
|
theme: nord
|
||||||
|
# The running user
|
||||||
|
running_user: "{{ ansible_user_id }}"
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- fonts
|
- fonts
|
||||||
|
|
Loading…
Reference in a new issue