mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-05 06:48:14 +00:00
me fish dirs, fixes
This commit is contained in:
parent
6a5cb60746
commit
86f72b810e
6 changed files with 22 additions and 26 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
# defold
|
# defold
|
||||||
- name: Creating defold game engine dir
|
- name: Creating defold game engine dir
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_env.HOME }}/truffle/defold"
|
path: "{{ ansible_env.HOME }}/defold"
|
||||||
state: directory
|
state: directory
|
||||||
mode: a
|
mode: a
|
||||||
- name: Installing defold game engine
|
- name: Installing defold game engine
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,6 @@
|
||||||
- curl
|
- curl
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
# TODO: use curl script ??
|
|
||||||
- name: Installing bun
|
|
||||||
become: true
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: npm install -g bun
|
|
||||||
changed_when: true # change is checked inside npm
|
|
||||||
|
|
||||||
- name: Downloading bun install script
|
- name: Downloading bun install script
|
||||||
ansible.builtin.uri:
|
ansible.builtin.uri:
|
||||||
url: https://bun.sh/install
|
url: https://bun.sh/install
|
||||||
|
|
|
||||||
|
|
@ -46,20 +46,21 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ansible_env.HOME }}/idea"
|
path: "{{ ansible_env.HOME }}/idea"
|
||||||
state: directory
|
state: directory
|
||||||
mode: a
|
|
||||||
- name: Installing intellij idea
|
- name: Installing intellij idea
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
remote_src: true
|
||||||
src: "https://github.com/JetBrains/intellij-community/releases/download/idea%2F2025.2/ideaIC-252.23892.409.tar.gz"
|
src: "https://github.com/JetBrains/intellij-community/releases/download/idea%2F2025.2/ideaIC-252.23892.409.tar.gz"
|
||||||
dest: "{{ ansible_env.HOME }}/idea"
|
dest: "{{ ansible_env.HOME }}/idea"
|
||||||
mode: a
|
|
||||||
keep_newer: true
|
|
||||||
extra_opts: [--strip-components=1]
|
extra_opts: [--strip-components=1]
|
||||||
- name: Updating fish path for intellil idea
|
- name: Updating fish path for intellil idea
|
||||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/idea/bin
|
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/idea/bin
|
||||||
args:
|
args:
|
||||||
executable: /usr/bin/fish
|
executable: /usr/bin/fish
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
# - name: Running idea for the first time
|
||||||
|
# ansible.builtin.command:
|
||||||
|
# cmd: "{{ ansible_env.HOME }}/idea/bin/idea.sh"
|
||||||
|
# changed_when: false
|
||||||
|
|
||||||
# examples
|
# examples
|
||||||
- name: Clone simple language example
|
- name: Clone simple language example
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,3 @@
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
end
|
end
|
||||||
|
|
||||||
# opam configuration
|
|
||||||
source /home/dragon/Containers/Dev/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
# This file contains fish universal variable definitions.
|
# This file contains fish universal variable definitions.
|
||||||
# VERSION: 3.0
|
# VERSION: 3.0
|
||||||
|
SETUVAR __fish_initialized:3800
|
||||||
SETUVAR fish_color_autosuggestion:brblack
|
SETUVAR fish_color_autosuggestion:brblack
|
||||||
SETUVAR fish_color_cancel:\x2dr
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
SETUVAR fish_color_command:normal
|
SETUVAR fish_color_command:normal
|
||||||
|
|
@ -12,30 +13,20 @@ SETUVAR fish_color_escape:brcyan
|
||||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||||
SETUVAR fish_color_host:normal
|
SETUVAR fish_color_host:normal
|
||||||
SETUVAR fish_color_host_remote:yellow
|
SETUVAR fish_color_host_remote:yellow
|
||||||
SETUVAR fish_color_keyword:normal
|
|
||||||
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
|
||||||
SETUVAR fish_color_normal:normal
|
SETUVAR fish_color_normal:normal
|
||||||
SETUVAR fish_color_operator:brcyan
|
SETUVAR fish_color_operator:brcyan
|
||||||
SETUVAR fish_color_option:cyan
|
|
||||||
SETUVAR fish_color_param:cyan
|
SETUVAR fish_color_param:cyan
|
||||||
SETUVAR fish_color_quote:yellow
|
SETUVAR fish_color_quote:yellow
|
||||||
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||||
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
SETUVAR fish_color_status:red
|
SETUVAR fish_color_status:red
|
||||||
SETUVAR fish_color_user:brgreen
|
SETUVAR fish_color_user:brgreen
|
||||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||||
SETUVAR fish_pager_color_background:\x1d
|
|
||||||
SETUVAR fish_pager_color_completion:normal
|
SETUVAR fish_pager_color_completion:normal
|
||||||
SETUVAR fish_pager_color_description:yellow\x1e\x2di
|
SETUVAR fish_pager_color_description:yellow\x1e\x2di
|
||||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
SETUVAR fish_pager_color_secondary_background:\x1d
|
|
||||||
SETUVAR fish_pager_color_secondary_completion:\x1d
|
|
||||||
SETUVAR fish_pager_color_secondary_description:\x1d
|
|
||||||
SETUVAR fish_pager_color_secondary_prefix:\x1d
|
|
||||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
SETUVAR fish_user_paths:/home/dragon/Containers/DevHomebrew/idea/bin\x1e/home/dragon/Containers/DevHomebrew/\x2ebin
|
||||||
SETUVAR fish_pager_color_selected_description:\x1d
|
|
||||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,20 @@
|
||||||
state: link
|
state: link
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
|
- name: Linking fish configuration (completions)
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: '{{ role_path }}/files/.config/fish/completions'
|
||||||
|
dest: '{{ ansible_env.HOME }}/.config/fish/completions'
|
||||||
|
state: link
|
||||||
|
force: true
|
||||||
|
|
||||||
|
- name: Linking fish configuration (conf.d)
|
||||||
|
ansible.builtin.file:
|
||||||
|
src: '{{ role_path }}/files/.config/fish/conf.d'
|
||||||
|
dest: '{{ ansible_env.HOME }}/.config/fish/conf.d'
|
||||||
|
state: link
|
||||||
|
force: true
|
||||||
|
|
||||||
- name: Copying fish configuration (variables)
|
- name: Copying fish configuration (variables)
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: '{{ role_path }}/files/.config/fish/fish_variables'
|
src: '{{ role_path }}/files/.config/fish/fish_variables'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue