From 2b52ba86897ed947976d560fc1a1eb1a8499c451 Mon Sep 17 00:00:00 2001 From: Ensa <@> Date: Fri, 1 May 2020 17:39:45 -0700 Subject: cwm added, general updates, etc bother made the WM detection and X startup file detection more robust comm-sel replaced 6cord with cordless made the default case do nothing so it's less annoying lh removed ipc-server garbage changed the audio group to allow for streaming audio to mpv (this works with livestream audio files) mbsync-cron moved config file to $XDG_CONFIG_HOME/mbsync/mbsyncrc made error exits actually error (helps with crontab -n) renamed old popmail touch file to something more nominally appropriate same with notify-send --app-name cwmrc reading it, DEPENDENCIES.md, and `man cwmrc` will more than explain everything in here. except the commented binds, these are behaviours cwm does not have. completions.ksh self-explanatory. read it. diraliases added ~bin for user binaries dir added ~ksh for ksh config dir added ~pass for password database kshrc added safeguards for ensuring used directories exist switched lfcd source to a test and source prompt.ksh better sep symbols git branch occupies less space lfrc added auto-upload to ttm.sh, bound to t init.vim switched colourscheme to zellner removed syntastic checker specifiers, now uses aggregate checks. syntastic_c_compiler set to cc, symlink your preferred compiler to ~bin/cc switched ectags to ctags enabled folds shrc ALTSCR: terminal you want to use for programs that already have scrollback. set to "$TERMINAL" if you don't have one. fiddled with LESS, hopefully better now $TODO is the file todo(1) uses. ENV: file ksh sources on startup. 6cord.toml removed because it's abandoned now. colors-wal-dwm.h removed because i don't use dwm anymore. dunstrc, zathurarc now uses cozette font --- config/ksh/kshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'config/ksh/kshrc') diff --git a/config/ksh/kshrc b/config/ksh/kshrc index bd8f48b..36350d0 100644 --- a/config/ksh/kshrc +++ b/config/ksh/kshrc @@ -7,9 +7,15 @@ fi FPATH=$XDG_CONFIG_HOME/ksh/functions HISTFILE=$XDG_DATA_HOME/ksh/histfile +if ! [[ -d $HISTFILE ]]; then + mkdir -p $HISTFILE; +fi HISTSIZE=5000 HISTCONTROL="ignoredups" 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 @@ -24,7 +30,7 @@ fi set -o vi #load ksh external configs -. $XDG_CONFIG_HOME/lf/lfcd.sh +[[ -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" -- cgit 1.4.1-2-gfad0