File tree Expand file tree Collapse file tree 17 files changed +81
-68
lines changed
Expand file tree Collapse file tree 17 files changed +81
-68
lines changed Original file line number Diff line number Diff line change 4646
4747 - name : π
Lint bash files
4848 run : bash scripts/self/lint
49-
50- build :
51- name : π Build
52- runs-on : ${{ matrix.os }}
53- needs : lint
54- strategy :
55- matrix :
56- os :
57- - macos-latest
58- - ubuntu-latest
59-
60- steps :
61- - name : β¬οΈ Checkout project
62- uses : actions/checkout@v4
63-
64- - name : π₯ Install .dotfiles
65- run : echo "$HOME/.dotfiles" | bash installer
Original file line number Diff line number Diff line change 11[submodule "modules/dotbot "]
22 path = modules/dotbot
33 url = https://github.com/anishathalye/dotbot
4- ignore = dirty
4+
5+ [submodule "modules/private "]
6+ path = modules/private
7+ url = git@github.com:borjapazr/dotfiles-private.git
Original file line number Diff line number Diff line change @@ -158,9 +158,6 @@ main() {
158158
159159 _s " π .dotfiles installed correctly! π"
160160 _s " π Please, restart your terminal to see the changes"
161-
162- _a " π Check the installation logs"
163- cat " $DOTFILES_LOG_FILE "
164161}
165162
166163main " $@ "
Original file line number Diff line number Diff line change 1- @angular/cli
21dockly
32gitmoji-cli
43http-server
Original file line number Diff line number Diff line change 1- tap "homebrew/core"
21tap "homebrew/bundle"
32tap "denisidoro/tools"
43tap "clementtsang/bottom"
54tap "moncho/dry"
65tap "github/gh"
76tap "homebrew/bundle"
8- tap "homebrew/cask"
9- tap "homebrew/cask-drivers"
10- tap "homebrew/cask-fonts"
11- tap "homebrew/cask-versions"
12- tap "homebrew/core"
137tap "homebrew/services"
148brew "fzf"
159brew "denisidoro/tools/navi"
1610brew "denisidoro/tools/docpars"
1711brew "lazydocker"
18- brew "podman-desktop"
1912brew "eza"
2013brew "coreutils"
2114brew "bash"
@@ -39,7 +32,6 @@ brew "lynis"
3932brew "ccat"
4033brew "gcc"
4134brew "asdf"
42- brew "jdx/tap/rtx"
4335brew "shfmt"
4436brew "shellcheck"
4537brew "git"
@@ -73,34 +65,27 @@ brew "yq"
7365brew "miller"
7466brew "starship"
7567brew "go-task/tap/go-task"
76- brew "mise"
7768brew "duf"
7869brew "rm-improved"
7970brew "tre-command"
8071brew "ctop"
8172brew "gping"
8273brew "thefuck"
83- brew "cleanclip"
8474brew "step"
8575brew "hadolint"
8676brew "zimfw"
8777cask "raycast"
88- cask "docker"
8978cask "notion"
9079cask "dbeaver-community"
91- cask "iterm2-nightly "
80+ cask "iterm2@beta "
9281cask "gas-mask"
9382cask "rectangle"
9483cask "postman"
9584cask "iina"
9685cask "shottr"
97- cask "cheatsheet"
98- cask "bitwarden"
99- cask "bitwarden-cli"
10086cask "devtoys"
10187cask "mos"
10288cask "appcleaner"
103- cask "fig"
10489cask "visual-studio-code"
10590cask "wezterm"
10691cask "brave-browser"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ source " $DOTFILES_PATH /scripts/core/_main.sh"
6+
7+ # #? Paste the selected prompt
8+ # ?? 1.0.0
9+ # #?
10+ # #? Usage:
11+ # #? prompt
12+ docs::parse " $@ "
13+
14+ prompts_dir=" $DOTFILES_PATH /modules/private/ai/prompts"
15+ prompt=$( ls -1 " $prompts_dir " | choose)
16+
17+ cat " $prompts_dir /$prompt " | pbcopy
18+
19+ dot mac paste_text -n
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ source " $DOTFILES_PATH /scripts/core/_main.sh"
6+
7+ # #? Paste a text
8+ # ?? 1.0.0
9+ # #?
10+ # #? Usage:
11+ # #? paste_text <text>
12+ # #? paste_text <text> --returning
13+ # #? paste_text --nocopy
14+ # #?
15+ # #? Options:
16+ # #? -h --help Show this screen.
17+ # #? -r --returning Adds a final return press
18+ # #? -n --nocopy No need to copy
19+ docs::parse " $@ "
20+
21+ if $nocopy ; then
22+ osascript -e "
23+ tell application \" System Events\"
24+ keystroke \" v\" using command down
25+ end tell"
26+ else
27+ if $returning ; then
28+ osascript -e "
29+ set the clipboard to \" $1 \"
30+ tell application \" System Events\"
31+ keystroke \" v\" using command down
32+ key code 36
33+ end tell"
34+ else
35+ osascript -e "
36+ set the clipboard to \" $1 \"
37+ tell application \" System Events\"
38+ keystroke \" v\" using command down
39+ end tell"
40+ fi
41+ fi
Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ update_system
1414
1515install_requirements
1616
17- install_ohmyzsh_plugins
18- install_ohmyzsh_themes
19-
2017log::info " π Aplying symlinks"
2118" $DOTFILES_PATH /bin/dot" symlinks apply | log::file " π Aplying symlinks" || true
2219
2724
2825log::info " π₯ Importing packages"
2926" $DOTFILES_PATH /bin/dot" package import 2>&1 | log::file " π₯ Importing packages"
30-
31- log::info " π Executing custom restoration scripts"
32- install_scripts_path=" $DOTFILES_PATH /restoration_scripts"
33- if [ -d " $install_scripts_path " ]; then
34- find " $install_scripts_path " -mindepth 1 -maxdepth 1 -type l,f -name ' *.sh' |
35- sort |
36- while read -r install_script; do
37- { [[ -x " $install_script " ]] && . " $install_script " | log::file " π Executing afterinstall: $( basename " $install_script " ) " ; } || {
38- log::error " Install script error in $( basename " $install_script " ) "
39- }
40- done
41- fi
You canβt perform that action at this time.
0 commit comments