-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract non core shell functions from rc fikes (#204)
* Remove unused brew integration code (maybe) Follow #150 * Extract non core rc functions to another bash Prepare #199, #201 * Manually trim_trailing_whitespace
- Loading branch information
Showing
4 changed files
with
41 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# ~ my feeling ~ | ||
# 50ms : blazing fast! | ||
# 120ms : acceptable | ||
# 200ms : 1980s? | ||
# 300ms : slow! | ||
|
||
hyperfine 'zsh -i -c exit' | ||
# Really having same options as zsh...? | ||
hyperfine 'bash -i -c exit' | ||
hyperfine 'nu -i -c exit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
case ${OSTYPE} in | ||
linux*) | ||
sudo apt update --yes && sudo apt upgrade --yes | ||
;; | ||
darwin*) | ||
softwareupdate --install --recommended | ||
;; | ||
esac | ||
|
||
nix-channel --update | ||
home-manager switch | ||
|
||
if type 'sheldon' >/dev/null; then | ||
sheldon lock --update | ||
fi | ||
if command -v rtx; then | ||
rtx self-update | ||
rtx plugins update | ||
fi |