On 9/7/13, der.hans <deb-u...@lufthans.com> wrote: > Am 07. Sep, 2013 schwätzte Zenaan Harkness so: > > moin moin Zenaan, > > Rather than all the convolutions of command substitution, how about just > using a function that's in your profile or bashrc? > > $ cat /tmp/bashrc > function changeps() { > export PS1=': ' > } > $ . /tmp/bashrc > $ changeps > : > > Add arguments to the fx() for your different options :).
Ahh. Even easier, and better (no tmpfile). Wunderbah! Thank you. Appreciated, Zenaan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOsGNSRLCCP5vuCL9g10La87yLyV=tggedcfpunahvi9fcv...@mail.gmail.com