[issue1351] etc/zsh/zshrc: make sll() do actually s.th. usefull

Thilo Six bts at bts.grml.org
Sat May 23 13:45:14 CEST 2015


Thilo Six <TS at Xk2c.de> added the comment:

Thilo Six schrieb/wrote:
-- <snip> --
> This whole thing is quite more complex then i ever could imagine, before.
> But then what i really like is, i have learned quite a bit through all that.

Hello

now i have a version that suits me. The decision if it also suit grml is left to
you.

A few notes:
The usage of cd seem hackish probably at first. Yet i have come to conclude cd
is a rather powerfull builtin. Especially after reading the aforementioned
article. I now think using cd is no more insane then storing a value in a
variable. It simply just changes the env. Also this way we drop the hard work of
resolving absolute vs. relative symlinks to the shell which is rather informed
about how to do that.
Yes i am aware of modifiers :a and :A. Still these break in certain use cases.

anyway. Final version attached.


kind regards,

     Thilo

----------
files: 0001-modified-sll-to-among-others-detect-symlink-loops-an.patch, sll, test.sh
messages: 4955, 4956, 4957, 4958, 4959, 4960, 4961, 4962, 4969
nosy: Xk2c
priority: feature
status: chatting
title: etc/zsh/zshrc: make sll() do actually s.th. usefull

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1351>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-modified-sll-to-among-others-detect-symlink-loops-an.patch
Type: text/x-diff
Size: 3650 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20150523/0750299d/attachment.patch>


More information about the Bugs-changes mailing list