From 43bf24f5a8d688baf78734eaa3c8ef1be724772e Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 16 Jan 2024 08:58:07 -0800 Subject: [PATCH] dev --- dev/dotfiles.yml | 7 ------- dev/main.yml | 34 +++++++++++++++++++++------------- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/dev/dotfiles.yml b/dev/dotfiles.yml index dd84f67..05d1de2 100644 --- a/dev/dotfiles.yml +++ b/dev/dotfiles.yml @@ -11,10 +11,3 @@ dest: ~/{{ item }} state: link loop: "{{ ls_dotfiles.stdout_lines | difference(['.git', '.gitmodules']) }}" - - - name: Symlink Prezto runcoms - file: - src: "{{ item }}" - dest: ~/.{{ item | basename }} - state: link - with_fileglob: "~/.zprezto/runcoms/z*" diff --git a/dev/main.yml b/dev/main.yml index fda7e99..6804cfb 100644 --- a/dev/main.yml +++ b/dev/main.yml @@ -11,18 +11,20 @@ # macOS things - - name: Import terminal profile - ansible.builtin.command: open ~/.macos/Alpha.terminal - - - name: Set terminal profile to be the default - osx_defaults: - domain: com.apple.Terminal - key: "{{ item }} Window Settings" - type: string - value: Alpha - with_items: - - Default - - Startup + # Not needed anymore since I've switched to kitty + # + # - name: Import terminal profile + # ansible.builtin.command: open ~/.macos/Alpha.terminal + # + # - name: Set terminal profile to be the default + # osx_defaults: + # domain: com.apple.Terminal + # key: "{{ item }} Window Settings" + # type: string + # value: Alpha + # with_items: + # - Default + # - Startup - import_playbook: homebrew.yml @@ -32,5 +34,11 @@ - hosts: all tasks: - + # https://tratt.net/laurie/blog/2024/faster_shell_startup_with_shell_switching.html + - name: Set default shell to sh + user: + name: alpha + shell: /bin/sh --login - ansible.builtin.command: "luarocks install fennel" + +# vim: ft=yaml.ansible