dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit a689f9d8a6487af34787f68baa1dd0e592403e99
parent e9b84d8cbddfd19748766ab1943b6716968b7387
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 14 Nov 2019 19:13:14 +0100

Fix argument handling in o()

Diffstat:
M.profile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.profile b/.profile @@ -58,7 +58,7 @@ h() { o() { [ "$(uname)" = 'Darwin' ] && open="open" || open="xdg-open" if [ "$#" -gt 0 ] && [ -f "$1" ]; then - for f in $*; do + for f in "$@"; do $open "$f" done else