Commit 32056294 authored by Martin's avatar Martin

use nano config instead of aliases

parent b3281f7b
...@@ -71,6 +71,12 @@ ...@@ -71,6 +71,12 @@
- { regexp: '^include /usr/share/nano/php.nanorc', line: 'include /usr/share/nano/php.nanorc', path: '/root/.nanorc', user: 'root' } - { regexp: '^include /usr/share/nano/php.nanorc', line: 'include /usr/share/nano/php.nanorc', path: '/root/.nanorc', user: 'root' }
- { regexp: '^include /usr/share/nano/python.nanorc', line: 'include /usr/share/nano/python.nanorc', path: '/home/{{ username }}/.nanorc', user: '{{ username }}' } - { regexp: '^include /usr/share/nano/python.nanorc', line: 'include /usr/share/nano/python.nanorc', path: '/home/{{ username }}/.nanorc', user: '{{ username }}' }
- { regexp: '^include /usr/share/nano/python.nanorc', line: 'include /usr/share/nano/python.nanorc', path: '/root/.nanorc', user: 'root' } - { regexp: '^include /usr/share/nano/python.nanorc', line: 'include /usr/share/nano/python.nanorc', path: '/root/.nanorc', user: 'root' }
- { regexp: '^set locking', line: 'set locking', path: '/home/{{ username }}/.nanorc', user: '{{ username }}' }
- { regexp: '^set locking', line: 'set locking', path: '/root/.nanorc', user: 'root' }
- { regexp: '^set positionlog', line: 'set positionlog', path: '/home/{{ username }}/.nanorc', user: '{{ username }}' }
- { regexp: '^set positionlog', line: 'set positionlog', path: '/root/.nanorc', user: 'root' }
- { regexp: '^set constantshow', line: 'set constantshow', path: '/home/{{ username }}/.nanorc', user: '{{ username }}' }
- { regexp: '^set constantshow', line: 'set constantshow', path: '/root/.nanorc', user: 'root' }
- name: Set up authorized_keys - name: Set up authorized_keys
when: username == "c0rn3j" when: username == "c0rn3j"
copy: copy:
......
...@@ -25,9 +25,8 @@ ...@@ -25,9 +25,8 @@
- { regexp: '^ZSH_THEME=', line: 'ZSH_THEME="mortalscumbag"', path: '/root/.zshrc' } - { regexp: '^ZSH_THEME=', line: 'ZSH_THEME="mortalscumbag"', path: '/root/.zshrc' }
- { regexp: 'zsh-autosuggestions', line: 'source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh', path: '/home/{{ username }}/.zshrc' } - { regexp: 'zsh-autosuggestions', line: 'source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh', path: '/home/{{ username }}/.zshrc' }
- { regexp: 'zsh-autosuggestions', line: 'source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh', path: '/root/.zshrc' } - { regexp: 'zsh-autosuggestions', line: 'source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh', path: '/root/.zshrc' }
# -P open files at last edited position; -c Constantly display the cursor position - { regexp: 'alias nano=', line: '', path: '/home/{{ username }}/.zshrc' } # TODO - DELETE ME
- { regexp: 'alias nano=', line: 'alias nano="nano -Pc"', path: '/home/{{ username }}/.zshrc' } - { regexp: 'alias nano=', line: '', path: '/root/.zshrc' } # TODO - DELETE ME
- { regexp: 'alias nano=', line: 'alias nano="nano -Pc"', path: '/root/.zshrc' }
- { regexp: 'alias ls=', line: 'alias ls="lsd"', path: '/home/{{ username }}/.zshrc' } - { regexp: 'alias ls=', line: 'alias ls="lsd"', path: '/home/{{ username }}/.zshrc' }
- { regexp: 'alias ls=', line: 'alias ls="lsd"', path: '/root/.zshrc' } - { regexp: 'alias ls=', line: 'alias ls="lsd"', path: '/root/.zshrc' }
# Only keep last version of a package in cache for LAN sync and move built AUR packages to the cache folder # Only keep last version of a package in cache for LAN sync and move built AUR packages to the cache folder
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment