Various improvemnts mainly around sheldon usage

This commit is contained in:
Jonny Barnes 2025-08-10 11:37:13 +01:00
commit aaf220e382
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
6 changed files with 45 additions and 151 deletions

View file

@ -4,11 +4,8 @@
alias bubc="brew upgrade && brew cleanup"
alias bubo="brew update && brew outdated"
# See which user or profile we are authneticated as in aws-cli
alias aws-whoami="aws sts get-caller-identity"
# Use eza instead of ls
alias als="eza --oneline --long --classify --icons --header"
alias eza="eza --oneline --long --classify --icons --header"
# Laravel Sail
alias sail="[ -f sail ] && bash sail || bash vendor/bin/sail"

View file

@ -1,6 +0,0 @@
#!/usr/bin/env zsh
# Setup Fast Node Manager
if (( ${+commands[fnm]} )); then
eval "$(fnm env --use-on-cd --shell zsh)"
fi

View file

@ -100,21 +100,3 @@ function stop-proxy() {
ssh -S $socket_dir/ssh-proxy-control -O exit $SSH_PROXY_HOST
}
# Get the system appearance
function get-system-appearance() {
if ! type defaults &>/dev/null; then
echo ""
fi
local darkMode=true;
if [[ $(defaults read -g AppleInterfaceStyle 2> /dev/null) != 'Dark' ]]; then
darkMode=false
fi
if [[ $darkMode == true ]]; then
echo "dark"
else
echo "light"
fi
}