Skip to content

Commit

Permalink
add grc config in zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
mqcmd196 committed Sep 8, 2024
1 parent 36d1246 commit 9a677bf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 1 addition & 2 deletions roles/zsh/config/rc.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ WORDCHARS='*?[]~&;!#$%^(){}<>' # for word jumping
local zsh_personal_config_dir="$HOME/.zsh.d"
source ${zsh_personal_config_dir}/alias.zsh
source ${zsh_personal_config_dir}/ros.zsh
source ${zsh_personal_config_dir}/grc.zsh
if [ -f ${zsh_personal_config_dir}/local.zsh ]; then
source ${zsh_personal_config_dir}/local.zsh
fi
Expand Down Expand Up @@ -83,8 +84,6 @@ HIST_STAMPS='yyyy-mm-dd HH:MM:SS'

source /etc/zsh_command_not_found # for command-not-found

source /etc/grc.zsh # for grc command

# enable comment out in command line
setopt interactivecomments

Expand Down
7 changes: 7 additions & 0 deletions roles/zsh/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@
state: link
force: yes

- name: Create symbolic link for grc config
file:
src: "{{ role_path }}/config/grc.zsh"
dest: "{{ ansible_env.HOME }}/.zsh.d/grc.zsh"
state: link
force: yes

- name: Git clone Powerlevel10k
git:
repo: https://github.com/romkatv/powerlevel10k.git
Expand Down

0 comments on commit 9a677bf

Please sign in to comment.