Compare commits

..

No commits in common. "ce728507214fd4d85568a6a51fcba28553f6028c" and "36ce40d7186337f71749cf83ce6e63f03a61ed75" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View File

@ -6,7 +6,7 @@ if [ -f `which powerline-daemon` ]; then
fi fi
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
export PROJECTS_DIR="$HOME/projects" export PROJECTS_DIR="$HOME/Documents/projects"
function gg() { function gg() {
cd "$PROJECTS_DIR/$1"; cd "$PROJECTS_DIR/$1";

View File

@ -17,14 +17,6 @@
state: present state: present
loop: "{{ _local_human_users }}" loop: "{{ _local_human_users }}"
- name: Configure local bash completions loading
become: true
ansible.builtin.lineinfile:
path: ~{{ item }}/.bashrc
line: source ~/.config/bash_completions
state: present
loop: "{{ _local_human_users }}"
- name: Configure bash completions - name: Configure bash completions
become: true become: true
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
@ -33,7 +25,7 @@
block: >- block: >-
function _gg_completion() { function _gg_completion() {
local cur=${COMP_WORDS[COMP_CWORD]}; local cur=${COMP_WORDS[COMP_CWORD]};
COMPREPLY=( $(compgen -W "$(command ls $PROJECTS_DIR)" -- $cur) ); COMPREPLY=( $(compgen -W "$(command ls $PROJECT_DIR)" -- $cur) );
} }
complete -F _gg_completion gg complete -F _gg_completion gg