]> git.sev.monster Git - dotfiles.git/commitdiff
clean .zprofile vars, update zsh opts, fix dpass
authords6 <git@ds6.pw>
Thu, 19 Mar 2020 02:42:14 +0000 (21:42 -0500)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:39 +0000 (16:27 -0500)
base/.zprofile
base/.zshrc
bin/dpass

index 3cc9587f4a8ca226db0490aa259a41ac6bf7f791..425a48ced70f4aafdd9060fee8bc95f4059ad69d 100644 (file)
@@ -10,3 +10,5 @@ if [[ ! -e "$t" ]] {
 if [[ ! -e "$h" ]] {
        ln -sf "$t" "$h" > /dev/null 2>&1
 }
+unset t
+unset h
index 6cbdfe0e31788b66d05a3d7856212d2c73b2c2aa..e06c318d6ba169aa77f41d76b5c611b4d41c203f 100644 (file)
@@ -2,14 +2,22 @@
 fpath=(~/.zsh ~/.zsh/functions/Prompts "${fpath[@]}")
 
 ### options
-setopt autocd extendedglob promptsubst
-unsetopt beep
-
-### history
-setopt appendhistory
+setopt NO_BEEP NO_CLOBBER
+## cd
+setopt AUTO_CD CDABLE_VARS
+## completion
+setopt GLOB_COMPLETE
+## line
+setopt EXTENDED_GLOB GLOB_DOTS MARK_DIRS NOMATCH NUMERIC_GLOB_SORT
+## prompt
+setopt PROMPT_SUBST
+## jobs
+setopt AUTO_CONTINUE
+## history
+setopt NO_HIST_SAVE_BY_COPY HIST_IGNORE_DUPS SHARE_HISTORY
 HISTFILE=~/.histfile
-HISTSIZE=100
-SAVEHIST=100
+HISTSIZE=1000
+SAVEHIST=1000
 
 ### keys
 bindkey -v
index a7dddb897719d8044df18df320bb302ef61e0e62..e8f446a5d3caccb2b979386ec1890b185234548d 100755 (executable)
--- a/bin/dpass
+++ b/bin/dpass
@@ -1,6 +1,6 @@
 #!/bin/sh
 p="$1"
-if [ -z "$p" ]; then
+if [ -z "$p" -a "$(readlink -f $(which ps))" =~ "/busybox" ]; then
        p="[$(ps -o comm= -p $(ps -o ppid= -p $$))]";
 fi
 ~/bin/dmenu -p "$p" -fn Dina-10 -nb \#110800 -nf \#110800 -sb \#264bd2 -sf \#fdf6e3 <&-
This page took 0.042336 seconds and 4 git commands to generate.