Merge branch 'master' of git.blake.ly/PowerUser/dotfiles
This commit is contained in:
commit
0a68add4da
9 changed files with 21 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
3
.config/shell/bin/how
Executable 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
4
.config/shell/bin/vvc
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd "$(dirname "$(realpath "$1")")"
|
||||
eval "$EDITOR" "$@"
|
4
.config/shell/local/env
Normal file
4
.config/shell/local/env
Normal 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
|
|
@ -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.
|
||||
|
|
|
@ -33,10 +33,11 @@
|
|||
pl = pull
|
||||
ps = push
|
||||
psf = push -f
|
||||
psnew = "! git push --set-upstream origin \"$(git branch --show-current)\""
|
||||
rem = remote
|
||||
rest = restore
|
||||
s = status
|
||||
st = status
|
||||
st = stash
|
||||
sub = submodule
|
||||
subup = sub update --init --recursive
|
||||
sw = switch
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
set -eu
|
||||
|
||||
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')"
|
||||
|
||||
printf "\n Installing dotfiles from %s\n\n" "$DOTFILES_REPO_URL"
|
||||
|
|
4
.zshrc
4
.zshrc
|
@ -109,8 +109,8 @@ Set the SKIP_P10K_THEME environment variable to 'true' or make a configuration t
|
|||
|
||||
## ZSH Options >>>
|
||||
{
|
||||
# setopt correct # Auto correct mistakes
|
||||
setopt extendedglob # Extended globbing. Allows using regular expressions with *
|
||||
# setopt correct # Auto correct mistakes
|
||||
setopt noextendedglob # Extended globbing. Allows using regular expressions with *
|
||||
[ -z "$TERMUX_VERSION" ] &&
|
||||
setopt nocaseglob # Case insensitive globbing (and fix for termux)
|
||||
setopt rcexpandparam # Array expension with parameters
|
||||
|
|
Loading…
Add table
Reference in a new issue