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
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
alias \
l='ls' \
la='ls -Ah' \
la='ls -ah' \
ll='ls -lh' \
lla='ls -lAh' \
lla='ls -lah' \
# <<<
# vim:fdm=marker:fmr=>>>,<<<:fdl=1:et:ft=bash:sw=3:ts=3

View file

@ -9,4 +9,4 @@ fi
for f; do
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)
timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# time # current time
time # current time
# ip # ip address and bandwidth usage for a specified network interface
# public_ip # public IP address
# proxy # system-wide http/https/ftp proxy
@ -1612,7 +1612,7 @@
typeset -g POWERLEVEL9K_TIME_FOREGROUND=0
typeset -g POWERLEVEL9K_TIME_BACKGROUND=7
# 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
# 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.