Skip to content

Commit

Permalink
shim mac/bsd open for other operating systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed Jan 10, 2024
1 parent 353152d commit 2a92e0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .profile.d/open.x11.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
alias open='xdg-open'
1 change: 1 addition & 0 deletions open.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
start %*
3 changes: 1 addition & 2 deletions profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
# PS admin> Set-ExecutionPolicy Unrestricted -Scope CurrentUser

function open { start $args }
function vi { vim.exe $args }
function view { vim.exe -R $args }
function emacs { emacs.exe -nw $args }
Expand All @@ -16,5 +17,3 @@ function lsdu {

return $list
}

& "C:\Program Files\Docker Toolbox\docker-machine.exe" env default | Invoke-Expression

0 comments on commit 2a92e0b

Please sign in to comment.