commit cf06429902560c230c9b7c6eaee0551327c5dc05
parent ba9148de73d2e90e5a2f31762b1972c2314e4bf2
Author: Remy Noulin <loader2x@gmail.com>
Date: Thu, 17 Oct 2019 13:07:34 +0200
add 'c' to 'cd' to highest dir in path, add 'pl' to list highest dir in path, add 'le' alias for less
debian/1-system.sh | 1 +
debian/updateHomeNoGui.sh | 2 ++
dotfiles/.bash_aliases | 5 +++++
dotfiles/c.sh | 1 +
dotfiles/pl.sh | 1 +
5 files changed, 10 insertions(+)
Diffstat:
5 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/debian/1-system.sh b/debian/1-system.sh
@@ -71,6 +71,7 @@ git clone https://spartatek.se/git/sheepy.git
cd sheepy
./install.sh
spm -g install sheepyExamples
+spm -g install hidir
# git-off
git clone https://noulin.net/git/git-off.git
diff --git a/debian/updateHomeNoGui.sh b/debian/updateHomeNoGui.sh
@@ -20,6 +20,8 @@ cp ../dotfiles/gle.sh ~/bin/
cp ../dotfiles/gdf.sh ~/bin/
cp ../dotfiles/vop.c ~/bin/
cp ../dotfiles/N.sh ~/bin/
+cp ../dotfiles/pl.sh ~/bin/
+cp ../dotfiles/c.sh ~/bin/
sheepy -c ~/bin/vop.c
cp ../dotfiles/gop ~/bin/
mkdir ~/.gnupg
diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases
@@ -29,9 +29,14 @@ alias d='gdb -tui'
alias da='gdb -tui --args'
alias vb='vim `find .|pick`'
alias vn='vim `git ls-files|pick`'
+alias c='source ~/bin/c.sh'
+alias pl='~/bin/pl.sh'
+
# Display colors in less :
alias less="less -R"
+alias le=less
+
# apt
alias qs="apt-cache search"
diff --git a/dotfiles/c.sh b/dotfiles/c.sh
@@ -0,0 +1 @@
+cd `hidir $1`
diff --git a/dotfiles/pl.sh b/dotfiles/pl.sh
@@ -0,0 +1 @@
+ls --color -l -h --time-style=long-iso `hidir $1`