dot

packages and services management
Log | Files | Refs | README

commit 83650fbabb7aa5165bb7f1281e704eb7f5b3fb7a
parent 8648e741022f6fd821d047fc388365a3c55fb301
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 30 Apr 2017 19:22:45 +0200

formatting

Diffstat:
M.profile | 4+++-
Mbin/io-url | 15++++++++-------
Murl | 36++++++++++++++++++------------------
3 files changed, 29 insertions(+), 26 deletions(-)

diff --git a/.profile b/.profile @@ -65,7 +65,9 @@ export EDITOR VISUAL PAGER MANPAGER DVTM_PAGER BROWSER # prompts PS1=' -$(date +"[%H:%M]" +$( + printf "\033[m" + date +"[%H:%M]" ) $PWD/$(git-status)${SSH_TTY:+ $(hostname)}${ABDUCO:+ $ABDUCO} ${?#0} $(jobs | wc -l | sed s/0//)» ' PS2=' » ' diff --git a/bin/io-url b/bin/io-url @@ -1,13 +1,14 @@ # open a link from $CONFIG/url appropritately -url="$( - { - printf '# ' - abduco | sed 's/.*\t//' - cat "$ETC/url" - } | iomenu -s -p 'url' -)" +url="$({ + printf '# ' + abduco | sed 's|.*\t||; y|!|/|' | grep '://' + printf '\n' + cat "$ETC/url" +} | iomenu -s -p 'url')" + name="$(printf %s "$url" | sed 's|/|!|g')" + [ "$SSH_TTY" ] && e='^\' || e='^Z' case "$url" in diff --git a/url b/url @@ -1,33 +1,33 @@ -# Learn - networking +# irc channels +irc://irc.freenode.net +irc://irc.oftc.net +irc://unix.chat +irc://irc.cyberia.is + +# gopher +gopher://bitreich.org + +# ssh +ssh://josuah@josuah.net + +# learn - networking http://calomel.org -# Communities +# communities http://suckless.org http://2f30.org http://nixers.net http://lobste.rs -# Blogs +# blogs http://gnu.moe -# Independent services +# independent services http://fuwafuwa.moe http://mixtape.moe -# News +# news http://thecontext.net -# Plain text text +# plain text text http://lainzine.neocities.org/txt-releases/lainzine-3.txt - -# IRC channels -irc://irc.freenode.net -irc://irc.oftc.net -irc://unix.chat -irc://irc.cyberia.is - -# Gopher -gopher://bitreich.org - -# SSH -ssh://josuah@josuah.net