about summary refs log tree commit diff stats
path: root/config/ksh/kshrc
diff options
context:
space:
mode:
authorensa <@>2023-02-04 20:03:47 -0800
committerensa <@>2023-02-04 20:52:52 -0800
commit75ee668954833ab6ba9287ed5eb16a9957edcac2 (patch)
tree07d9f88939ab0fd93d93c6f4ddbbc7b548a812f0 /config/ksh/kshrc
parentebae3707b36e9a83014ef08271d75bd9826bb999 (diff)
downloadcfg-75ee668954833ab6ba9287ed5eb16a9957edcac2.tar.gz
restructure, cleanups, greener pastures, new additions
config and data are now etc and share, to better match my homedir

bin:
generally, shellcheck errors (where there's actually a problem) have been fixed
bother now includes alternate support for libnotify as well as my notif
comm-sel now loops, so spawning programs doesn't require multiple runs
fcard: my flashcard script
	accepts a tsv's path on $1, expecting:
		the word on column 1
		the defintion on column 2
		(optional) the section on column 3
	if $2 is specified, only runs through lines with that string as its section
fl:
	added aesgcm to the url detector string, because of profanity
	cleaned up urlparse
	now outputs the urls, one per line, making it more unixy
flc: a quick script. uses fl's output to do what fl once did on its own.
kbsetup now lacks escape xcape magic, qmk does that for me now.
lh: general cleanup. added and removed a site for the video extract section
metamv: gives arguments self-describing names based off metadata.
	mainly just for sorting FLACs off bandcamp
	this might not be entirely safe. use your own discretion.
notif:
	xnotify wasn't happy with the previous design.
	it was sending notifications in pieces.
	this new one's an absolute mess but it works well, is smaller, and faster
op: changed the pdf bit to allow variants
smv: file is self-explanatory
	applies the pipeline specified in "$1" to every file name specified after it
xbg: contains a fallback if xwallpaper isn't downloaded or its path is empty.
yw: just a quick and dirty line for watching things in mpv using yt-dlp.

etc:
X11/:
	xprofile now includes the latest xnotify initialization.
	xresources prevents a variable collision
		also updates new xnotify resource names
		and changes which program to pipe the screen to.
mpd/mpd.conf
	just updates to path structure.
yt-dlp/*
	too many changes to describe. should be fairly self-explanatory.
ksh/:
	prompt.ksh:	the $ is green now. hooray!
lf/lfrc: removed ttmsh function. i use my server for that now.
newsboat/config: external-url-viewer is now non-python.
zathura/zathurarc: font is now hermit.
aliasrc:
	exa is no more.
	vis is also no more.
	youtube-dl is dead. long live yt-dlp.
shrc: locale vars changed to ones than glibc is ok with
Diffstat (limited to 'config/ksh/kshrc')
-rw-r--r--config/ksh/kshrc36
1 files changed, 0 insertions, 36 deletions
diff --git a/config/ksh/kshrc b/config/ksh/kshrc
deleted file mode 100644
index a5b48e0..0000000
--- a/config/ksh/kshrc
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/ksh
-. $HOME/etc/shrc
-KSHCONFIG="$XDG_CONFIG_HOME/ksh"
-FPATH=$XDG_CONFIG_HOME/ksh/functions
-alias functions="cat \$FPATH/*|grep -vF '#!/bin/ksh'"
-
-HISTFILE=$XDG_DATA_HOME/ksh/histfile
-if ! [[ -d $(dirname $HISTFILE) ]]; then
-	mkdir -p $(dirname $HISTFILE);
-fi
-HISTSIZE=5000
-HISTCONTROL="ignoredups"
-FCEDIT="$EDITOR"
-TMPDIR=$XDG_CACHE_HOME/ksh
-if ! [[ -d $TMPDIR ]]; then
-	mkdir -p $TMPDIR;
-fi
-# shortcut for cloning
-GITHUB="https://github.com"
-# make pfetch show what i want
-export PF_INFO="ascii title os host shell editor wm pkgs palette"
-# fix manpath so local man pages work
-# crude *bsd detection
-if [[ -d /usr/X11R6 ]]; then
-export MANPATH="/usr/share/man:/usr/X11R6/man:/usr/local/man:$XDG_DATA_HOME/man"
-else
-export MANPATH="/usr/share/man:/usr/local/share/man:$XDG_DATA_HOME/man"
-fi
-set -o vi
-
-#load ksh external configs
-[[ -f "$XDG_CONFIG_HOME/lf/lfcd.sh" ]] && . "$XDG_CONFIG_HOME/lf/lfcd.sh"
-[[ -f "$KSHCONFIG/diraliases" ]] && . "$KSHCONFIG/diraliases"
-[[ -f "$XDG_CONFIG_HOME/aliasrc" ]] && . "$XDG_CONFIG_HOME/aliasrc"
-[[ -f "$KSHCONFIG/completions.ksh" ]] && . "$KSHCONFIG/completions.ksh"
-[[ -f "$KSHCONFIG/prompt.ksh" ]] && . "$KSHCONFIG/prompt.ksh"