dot

packages and services management
Log | Files | Refs | README

commit 6fad1cc0bd337e4a5e8535542bae0c39d6cf0a85
parent 25eeb7ce1167c7f7a044d9d86dc871fadf06c796
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun,  4 Nov 2018 15:10:35 +0100

back to flat directory structure

Diffstat:
Rbin/http/0x0.st -> bin/0x0.st | 0
Rbin/bitreich/bitreich-blog -> bin/bitreich-blog | 0
Rbin/bitreich/bitreich-export-git -> bin/bitreich-export-git | 0
Rbin/bitreich/bitreich-paste -> bin/bitreich-paste | 0
Rbin/term/black -> bin/black | 0
Rbin/term/clear -> bin/clear | 0
Rbin/clip/copy -> bin/copy | 0
Rbin/std/edit -> bin/edit | 0
Rbin/tty/fbvideo -> bin/fbvideo | 0
Rbin/conv/ff2touch -> bin/ff2touch | 0
Rbin/fun/fig -> bin/fig | 0
Rbin/misc/flac-split -> bin/flac-split | 0
Rbin/fun/fun-psyche -> bin/fun-psyche | 0
Rbin/fun/fun-troll -> bin/fun-troll | 0
Rbin/git/git-all -> bin/git-all | 0
Rbin/git/git-count -> bin/git-count | 0
Rbin/git/git-dog -> bin/git-dog | 0
Rbin/git/git-s -> bin/git-s | 0
Rbin/git/git-stat -> bin/git-stat | 0
Rbin/git/git-update -> bin/git-update | 0
Rbin/misc/hgrep -> bin/hgrep | 0
Rbin/http/icanhazip.com -> bin/icanhazip.com | 0
Rbin/conv/ics2txt -> bin/ics2txt | 0
Rbin/misc/ii-client -> bin/ii-client | 0
Rbin/misc/include -> bin/include | 0
Rbin/misc/lc -> bin/lc | 0
Rbin/std/light -> bin/light | 0
Rbin/misc/lines -> bin/lines | 0
Rbin/misc/ll -> bin/ll | 0
Rbin/tree/ltree -> bin/ltree | 0
Rbin/mblaze/m -> bin/m | 0
Rbin/std/menu -> bin/menu | 0
Rbin/menu/menu-find -> bin/menu-find | 0
Rbin/menu/menu-open -> bin/menu-open | 0
Rbin/menu/menu-session -> bin/menu-session | 0
Rbin/menu/menu-uri -> bin/menu-uri | 0
Rbin/mblaze/mfilter -> bin/mfilter | 0
Rbin/misc/mount-key -> bin/mount-key | 0
Rbin/mblaze/mread -> bin/mread | 0
Rbin/mblaze/msearch -> bin/msearch | 0
Rbin/misc/mv-sane -> bin/mv-sane | 0
Rbin/remap/o -> bin/o | 0
Rbin/std/open -> bin/open | 0
Rbin/std/pass -> bin/pass | 0
Rbin/clip/paste -> bin/paste | 0
Rbin/fun/piano -> bin/piano | 0
Rbin/misc/play -> bin/play | 0
Rbin/std/plumb -> bin/plumb | 0
Rbin/tree/ptree -> bin/ptree | 0
Rbin/misc/put -> bin/put | 0
Rbin/misc/rfc -> bin/rfc | 0
Rbin/service/service-disable -> bin/service-disable | 0
Rbin/service/service-enable -> bin/service-enable | 0
Rbin/service/service-init -> bin/service-init | 0
Rbin/service/service-load -> bin/service-load | 0
Rbin/service/service-reload -> bin/service-reload | 0
Rbin/service/service-restart -> bin/service-restart | 0
Rbin/service/service-shutdown -> bin/service-shutdown | 0
Rbin/service/service-start -> bin/service-start | 0
Rbin/service/service-status -> bin/service-status | 0
Rbin/service/service-stop -> bin/service-stop | 0
Rbin/std/session -> bin/session | 0
Rbin/std/shell -> bin/shell | 0
Rbin/std/shortcut -> bin/shortcut | 0
Rbin/std/sound -> bin/sound | 0
Rbin/misc/ssh-paste -> bin/ssh-paste | 0
Rbin/suckless/suckless-patch-mail -> bin/suckless-patch-mail | 0
Rbin/misc/tmp -> bin/tmp | 0
Rbin/tty/tty-theme -> bin/tty-theme | 0
Rbin/conv/txt2ics -> bin/txt2ics | 0
Rbin/std/web -> bin/web | 0
Rbin/term/white -> bin/white | 0
Rbin/std/window -> bin/window | 0
Rbin/http/wttr.in -> bin/wttr.in | 0
Rbin/remap/xdg-open -> bin/xdg-open | 0
Mconf-bin | 9++++-----
Mprofile.d/prompt.sh | 9++-------
Aprofile.d/user.sh | 2++
78 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/bin/http/0x0.st b/bin/0x0.st diff --git a/bin/bitreich/bitreich-blog b/bin/bitreich-blog diff --git a/bin/bitreich/bitreich-export-git b/bin/bitreich-export-git diff --git a/bin/bitreich/bitreich-paste b/bin/bitreich-paste diff --git a/bin/term/black b/bin/black diff --git a/bin/term/clear b/bin/clear diff --git a/bin/clip/copy b/bin/copy diff --git a/bin/std/edit b/bin/edit diff --git a/bin/tty/fbvideo b/bin/fbvideo diff --git a/bin/conv/ff2touch b/bin/ff2touch diff --git a/bin/fun/fig b/bin/fig diff --git a/bin/misc/flac-split b/bin/flac-split diff --git a/bin/fun/fun-psyche b/bin/fun-psyche diff --git a/bin/fun/fun-troll b/bin/fun-troll diff --git a/bin/git/git-all b/bin/git-all diff --git a/bin/git/git-count b/bin/git-count diff --git a/bin/git/git-dog b/bin/git-dog diff --git a/bin/git/git-s b/bin/git-s diff --git a/bin/git/git-stat b/bin/git-stat diff --git a/bin/git/git-update b/bin/git-update diff --git a/bin/misc/hgrep b/bin/hgrep diff --git a/bin/http/icanhazip.com b/bin/icanhazip.com diff --git a/bin/conv/ics2txt b/bin/ics2txt diff --git a/bin/misc/ii-client b/bin/ii-client diff --git a/bin/misc/include b/bin/include diff --git a/bin/misc/lc b/bin/lc diff --git a/bin/std/light b/bin/light diff --git a/bin/misc/lines b/bin/lines diff --git a/bin/misc/ll b/bin/ll diff --git a/bin/tree/ltree b/bin/ltree diff --git a/bin/mblaze/m b/bin/m diff --git a/bin/std/menu b/bin/menu diff --git a/bin/menu/menu-find b/bin/menu-find diff --git a/bin/menu/menu-open b/bin/menu-open diff --git a/bin/menu/menu-session b/bin/menu-session diff --git a/bin/menu/menu-uri b/bin/menu-uri diff --git a/bin/mblaze/mfilter b/bin/mfilter diff --git a/bin/misc/mount-key b/bin/mount-key diff --git a/bin/mblaze/mread b/bin/mread diff --git a/bin/mblaze/msearch b/bin/msearch diff --git a/bin/misc/mv-sane b/bin/mv-sane diff --git a/bin/remap/o b/bin/o diff --git a/bin/std/open b/bin/open diff --git a/bin/std/pass b/bin/pass diff --git a/bin/clip/paste b/bin/paste diff --git a/bin/fun/piano b/bin/piano diff --git a/bin/misc/play b/bin/play diff --git a/bin/std/plumb b/bin/plumb diff --git a/bin/tree/ptree b/bin/ptree diff --git a/bin/misc/put b/bin/put diff --git a/bin/misc/rfc b/bin/rfc diff --git a/bin/service/service-disable b/bin/service-disable diff --git a/bin/service/service-enable b/bin/service-enable diff --git a/bin/service/service-init b/bin/service-init diff --git a/bin/service/service-load b/bin/service-load diff --git a/bin/service/service-reload b/bin/service-reload diff --git a/bin/service/service-restart b/bin/service-restart diff --git a/bin/service/service-shutdown b/bin/service-shutdown diff --git a/bin/service/service-start b/bin/service-start diff --git a/bin/service/service-status b/bin/service-status diff --git a/bin/service/service-stop b/bin/service-stop diff --git a/bin/std/session b/bin/session diff --git a/bin/std/shell b/bin/shell diff --git a/bin/std/shortcut b/bin/shortcut diff --git a/bin/std/sound b/bin/sound diff --git a/bin/misc/ssh-paste b/bin/ssh-paste diff --git a/bin/suckless/suckless-patch-mail b/bin/suckless-patch-mail diff --git a/bin/misc/tmp b/bin/tmp diff --git a/bin/tty/tty-theme b/bin/tty-theme diff --git a/bin/conv/txt2ics b/bin/txt2ics diff --git a/bin/std/web b/bin/web diff --git a/bin/term/white b/bin/white diff --git a/bin/std/window b/bin/window diff --git a/bin/http/wttr.in b/bin/wttr.in diff --git a/bin/remap/xdg-open b/bin/xdg-open diff --git a/conf-bin b/conf-bin @@ -1,7 +1,6 @@ #!/bin/sh -e -cd "$(dirname "$0")/bin" -mkdir -p "$HOME/.local/bin" -for f in */*; do - ln -sf "$PWD/$f" "$HOME/.local/bin/${f#*/}" -done +cd "$(dirname "$0")" + +mkdir -p "$HOME/.local" +ln -sf "$PWD/bin" "$HOME/.local" diff --git a/profile.d/prompt.sh b/profile.d/prompt.sh @@ -19,10 +19,5 @@ case "$0" in ;; esac -PS1= -PS1=$PS1$vt_bold$(uname -n)$vt_norm -PS1=$PS1'$PWD' -PS1=$PS1$vt_bold'$(test $? = 0 && echo "$vt_green" || echo "$vt_red")' -PS1=$PS1'$(test "$(whoami)" = root && echo "# " || echo "\$ ")'$vt_norm - -export PS1 +[ "$(id -u)" = 0 ] && u='#' || u='$' +export PS1=$vt_bold$(uname -n)$vt_norm'$PWD'$vt_bold$u$vt_red'${?#0}'$vt_norm' ' diff --git a/profile.d/user.sh b/profile.d/user.sh @@ -0,0 +1,2 @@ +export PATH="$HOME/.local/bin:$PATH" +export MANPATH="$HOME/.local/man:$HOME/.local/share/man:$MANPATH"