Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ant0wan committed Dec 5, 2024
1 parent eb7c08d commit 6464d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -o errexit

if test $# -eq 0; then
selection="$(find scripts/ -type f -printf "%f\n" | awk -F '.' '{ print $1 }' | sort | sk --multi --bind 'right:select-all,left:deselect-all,space:toggle+up' --preview="bat --color=always scripts/{}.sh --color=always")"
selection="$(find scripts/ -type f -printf "%f\n" | awk -F '.' '{ print $1 }' | sort | sk --multi --bind 'right:select-all,left:deselect-all,space:toggle+up' --preview="batcat --color=always scripts/{}.sh --color=always")"
else
selection="$(echo "$@" | tr ' ' '\n' | sort -u | tr '\n' ' ' | xargs echo | sort)"
echo "$selection"
Expand Down
4 changes: 2 additions & 2 deletions scripts/rust.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
set -o errexit
script_dir=$(dirname "$0")
. "$script_dir/essentials.install.sh"
. "$script_dir/c.install.sh"
. "$script_dir/essentials.sh"
. "$script_dir/c.sh"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile complete -y --no-modify-path
. "$HOME/.cargo/env"
"$(which cargo)" install cargo-watch
Expand Down

0 comments on commit 6464d24

Please sign in to comment.