On Tue, Feb 05, 2019 at 12:35:55PM +0200, Dr Eberhard Lisse wrote:
> Scott,
>
> this is very helpful for my alias file on the Mac.
>
> function lyxconfigure
> {
> pushd ~/
> python -tt "/Applications/LyX.app/Contents/Resources/configure.py"
> popd
> }Nice. Thanks for sharing I actually never saw that trick for saving the directory in a bash function (I've only used pushd and popd interactively). I am used to saving "$(pwd)" to a variable and then "cd" back to it. I like your trick instead. Scott
signature.asc
Description: PGP signature
