Bt monitor
This commit is contained in:
3
roles/better-shell-env/tasks/files/dot.fish
Normal file
3
roles/better-shell-env/tasks/files/dot.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function dot -w git -d "Manages dotfiles"
|
||||
git --git-dir=$HOME/.dot --work-tree=$HOME $argv
|
||||
end
|
||||
47
roles/better-shell-env/tasks/main.yml
Normal file
47
roles/better-shell-env/tasks/main.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
#
|
||||
- name: Install packages
|
||||
apt:
|
||||
name:
|
||||
- bat
|
||||
- broot
|
||||
- duf
|
||||
- fd-find
|
||||
- fish
|
||||
- fzf
|
||||
- git
|
||||
- glances
|
||||
- lsd
|
||||
- neovim
|
||||
- ripgrep
|
||||
- tmux
|
||||
- zoxide
|
||||
|
||||
# TODO: Dust, btm
|
||||
|
||||
block:
|
||||
become: true
|
||||
become_user: {{main_user}}
|
||||
- name: Create bin folder
|
||||
ansible.builtin.file:
|
||||
path: ~/bin
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
# Oh-my-fish
|
||||
- name: get oh-my-fish repo
|
||||
git:
|
||||
repo: 'https://github.com/oh-my-fish/oh-my-fish.git'
|
||||
dest: ~/.local/share/git/oh-my-fish
|
||||
- name: install oh-my-fish
|
||||
shell:
|
||||
cmd: "bin/install --offline --noninteractive"
|
||||
executable: /usr/bin/fish
|
||||
chdir: ~/.local/share/git/oh-my-fish
|
||||
creates:
|
||||
- ~/.local/share/omf
|
||||
- ~/.config/omf
|
||||
- copy:
|
||||
content: "bobthefish"
|
||||
dst: "~/.config/omf/theme"
|
||||
|
||||
Reference in New Issue
Block a user