Compare commits

..

No commits in common. "56e75dfb6cad82c9fe76d7ee0d800d2bb7f399cf" and "f5f32b0c7ee5319ae065da1e3c088222fef0adee" have entirely different histories.

4 changed files with 4 additions and 37 deletions

View file

@ -108,10 +108,8 @@ source ~/.shellconfig/aliases.sh
source ~/.shellconfig/environment.sh
# Functions
source ~/.shellconfig/functions.sh
# Auto complete functions
if [ -d ~/.shellconfig/autocomplete ]; then
[ "$(ls -A ~/.shellconfig/autocomplete/)" ] && source <(cat ~/.shellconfig/autocomplete/*)
fi
# Start tmux if not in a session

View file

@ -10,7 +10,6 @@
- git
- ranger
- jq
- man-db
state: present
- name: Some more packages (RedHat based)
@ -65,11 +64,6 @@
path: ~/.shellconfig
state: directory
- name: Verifying shell autocomplete config folder
file:
path: ~/.shellconfig/autocomplete
state: directory
- name: Sync Common shell settings...
changed_when: false
copy:

View file

@ -38,27 +38,9 @@
- name: Moving bin to /usr/local/bin
become: true
shell: |
cp /tmp{{ bin_path }} /usr/local/bin/
cp /tmp{{ bin_path }} /usr/local/bin/{{ name }}
when: version != local_version
- name: Adding man page if needed
become: true
shell: |
cp /tmp{{ man_path }} /usr/share/man/man1/
register: added_man
when: man_path is defined and (version != local_version)
- name: Update mandb if needed
become: true
shell: mandb
when: added_man is defined
- name: Adding autocomplete if needed
shell: |
cp /tmp/{{ autocomplete_path }} ~/.shellconfig/autocomplete/
when: autocomplete_path is defined and (version != local_version)
- name: Updating local version entry
shell: echo {{ version }} > {{ local_version_file }}
when: version != local_version

View file

@ -5,9 +5,7 @@
vars:
name: bat
repo: sharkdp/bat
bin_path: "/bat-*/bat"
man_path: "/bat-*/bat.1"
autocomplete_path: "/bat-*/autocomplete/bat.bash"
bin_path: "/bat*/bat"
filter: x86_64-unknown-linux-gnu
- name: verify Bat (better Cat) theme
@ -27,7 +25,6 @@
name: btm
repo: ClementTsang/bottom
bin_path: "/btm"
autocomplete_path: "/completion/btm.bash"
filter: bottom_x86_64-unknown-linux-gnu.tar.gz
- name: Installing gitui
@ -63,8 +60,6 @@
name: lsd
repo: Peltoche/lsd
bin_path: "/lsd-*/lsd"
man_path: "/lsd-*/lsd.1"
autocomplete_path: "/lsd-*/autocomplete/lsd.bash-completion"
filter: x86_64-unknown-linux-gnu.tar.gz
- name: Installing ripgrep (grep like)
@ -74,7 +69,5 @@
name: rg
repo: BurntSushi/ripgrep
bin_path: "/ripgrep-*/rg"
man_path: "/ripgrep-*/doc/rg.1"
autocomplete_path: "/ripgrep-*/complete/rg.bash"
filter: x86_64-unknown-linux-musl.tar.gz