Merge branch 'master' of git.blake.ly/PowerUser/dotfiles

This commit is contained in:
PowerUser64 2024-09-08 19:58:46 -07:00
commit 0a68add4da
9 changed files with 21 additions and 16 deletions

View file

@ -153,19 +153,12 @@ alias rce='reset && clear && exec zsh'
# find pretty much any file, quickly # find pretty much any file, quickly
alias fds='fd --no-ignore --hidden --exclude /run --exclude /mnt' alias fds='fd --no-ignore --hidden --exclude /run --exclude /mnt'
# smart plug things
export SMART_PLUG_IP='192.168.1.250'
alias \
light='tplink_smartplug.py -t $SMART_PLUG_IP -c' \
lion='light on' \
loff='light off' \
# Common ls aliases # Common ls aliases
alias \ alias \
l='ls' \ l='ls' \
la='ls -Ah' \ la='ls -ah' \
ll='ls -lh' \ ll='ls -lh' \
lla='ls -lAh' \ lla='ls -lah' \
# <<< # <<<
# vim:fdm=marker:fmr=>>>,<<<:fdl=1:et:ft=bash:sw=3:ts=3 # vim:fdm=marker:fmr=>>>,<<<:fdl=1:et:ft=bash:sw=3:ts=3

View file

@ -9,4 +9,4 @@ fi
for f; do for f; do
realpath "$f" realpath "$f"
done | $CLIPBOARD_MANAGER done | sed -z '$ s/\n$//' | $CLIPBOARD_MANAGER

3
.config/shell/bin/how Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
test $# -gt 0 && where="$1" && shift
IFS='+' eval 'curl "https://cht.sh/${where:-}/$*"'

4
.config/shell/bin/vvc Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cd "$(dirname "$(realpath "$1")")"
eval "$EDITOR" "$@"

4
.config/shell/local/env Normal file
View file

@ -0,0 +1,4 @@
export REPOS_TO_UPDATE="/home/blake/Documents/pwp"
export PATH="$HOME/.local/share/bottles/runners/wine-ge-proton8-14/bin:$PATH"
# vim:ft=bash

View file

@ -95,7 +95,7 @@
todo # todo items (https://github.com/todotxt/todo.txt-cli) todo # todo items (https://github.com/todotxt/todo.txt-cli)
timewarrior # timewarrior tracking status (https://timewarrior.net/) timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/) taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# time # current time time # current time
# ip # ip address and bandwidth usage for a specified network interface # ip # ip address and bandwidth usage for a specified network interface
# public_ip # public IP address # public_ip # public IP address
# proxy # system-wide http/https/ftp proxy # proxy # system-wide http/https/ftp proxy
@ -1612,7 +1612,7 @@
typeset -g POWERLEVEL9K_TIME_FOREGROUND=0 typeset -g POWERLEVEL9K_TIME_FOREGROUND=0
typeset -g POWERLEVEL9K_TIME_BACKGROUND=7 typeset -g POWERLEVEL9K_TIME_BACKGROUND=7
# Format for the current time: 09:51:02. See `man 3 strftime`. # Format for the current time: 09:51:02. See `man 3 strftime`.
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%l:%M %p}'
# If set to true, time will update when you hit enter. This way prompts for the past # If set to true, time will update when you hit enter. This way prompts for the past
# commands will contain the start times of their commands as opposed to the default # commands will contain the start times of their commands as opposed to the default
# behavior where they contain the end times of their preceding commands. # behavior where they contain the end times of their preceding commands.

View file

@ -33,10 +33,11 @@
pl = pull pl = pull
ps = push ps = push
psf = push -f psf = push -f
psnew = "! git push --set-upstream origin \"$(git branch --show-current)\""
rem = remote rem = remote
rest = restore rest = restore
s = status s = status
st = status st = stash
sub = submodule sub = submodule
subup = sub update --init --recursive subup = sub update --init --recursive
sw = switch sw = switch

View file

@ -5,7 +5,7 @@
set -eu set -eu
DOTFILES_REPO_DIR="$HOME/git/dotfiles" DOTFILES_REPO_DIR="$HOME/git/dotfiles"
DOTFILES_REPO_URL="https://git.blakenorth.net/dotfiles" DOTFILES_REPO_URL="https://git.blake.ly/PowerUser/dotfiles"
DOTFILES_BACKUP_DIR="$HOME/.dotfiles-backup_$(date +'%Y-%m-%d_%H:%m:%S')" DOTFILES_BACKUP_DIR="$HOME/.dotfiles-backup_$(date +'%Y-%m-%d_%H:%m:%S')"
printf "\n Installing dotfiles from %s\n\n" "$DOTFILES_REPO_URL" printf "\n Installing dotfiles from %s\n\n" "$DOTFILES_REPO_URL"

2
.zshrc
View file

@ -110,7 +110,7 @@ Set the SKIP_P10K_THEME environment variable to 'true' or make a configuration t
## ZSH Options >>> ## ZSH Options >>>
{ {
# setopt correct # Auto correct mistakes # setopt correct # Auto correct mistakes
setopt extendedglob # Extended globbing. Allows using regular expressions with * setopt noextendedglob # Extended globbing. Allows using regular expressions with *
[ -z "$TERMUX_VERSION" ] && [ -z "$TERMUX_VERSION" ] &&
setopt nocaseglob # Case insensitive globbing (and fix for termux) setopt nocaseglob # Case insensitive globbing (and fix for termux)
setopt rcexpandparam # Array expension with parameters setopt rcexpandparam # Array expension with parameters