dot

packages and services management
Log | Files | Refs | README

commit 551a85b3bd16b99456d4037ac69465b31b091942
parent e274d87d44ff794f8ae08cf0e7c91f81b87b3c02
Author: josuah <mail@josuah.net>
Date:   Fri, 20 Jan 2017 22:50:52 +0100

.profile: interactive tools.

Diffstat:
M.profile | 16+++++++++++++---
MREADME | 2+-
2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/.profile b/.profile @@ -49,8 +49,8 @@ export PS3='│ ' # coreutils alias p='page' -alias l='page ls -lhp --color' -alias la='page ls -Alhp --color' +alias l='list' +alias la='ls -alhp --color' alias cl='printf "\033[H\033[2J"' alias bh='page busybox --help' alias grep='page grep' @@ -80,6 +80,17 @@ page() } +list() +{ + if [ ! -f "$1" ] || [ $# -eq 0 ] + then + page ls -lhp --color "$@" + else + less -NS "$@" + fi +} + + color() { for i in 1 2 3 4 5 6 7 @@ -169,7 +180,6 @@ main() { [ "$TERM" = 'linux' ] && setfont ~/.local/share/consolefonts/terminus-16n.psf - [ "$ABDUCO" ] || ABDUCO='main' TERM='screen' abduco -A main dvtm-status } diff --git a/README b/README @@ -44,7 +44,7 @@ g | git ) git clone http://github.com/josuah/iode & git clone http://github.com/josuah/josuah.github.io & git clone http://github.com/josuah/cgr & - git clone http://github.com/josuah/barkdown & + git clone http://github.com/josuah/build & git clone http://github.com/josuah/notes & git clone http://github.com/josuah/fungus-vs-pathogen & git clone http://github.com/josuah/miniwi &