Skip to content

Commit

Permalink
add open alias
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Dec 26, 2024
1 parent cc3695b commit 428c2f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions macos/.macos-aliases
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
alias update="sudo softwareupdate -i -a; brew update; brew upgrade; brew upgrade --cask; brew autoremove; brew cleanup --prune=all; brew doctor; _update";
alias version="sw_vers"
alias act="act --container-architecture linux/amd64"
alias open="xdg-open";

alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"

Expand Down
3 changes: 3 additions & 0 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export PATH="$DOTFILES/scripts:$PATH"

# Setopts autocorrections
setopt correct_all
# Navigate without using cd command
setopt autocd
# Store history per tab
setopt inc_append_history
Expand Down Expand Up @@ -133,6 +134,8 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# ubuntu via WSL Windows Subsystem for Linux
# Set symlink for vscode
ln -s "/mnt/c/Program Files/Microsoft VS Code/bin/code" /usr/local/bin/code

alias open='explorer.exe';

export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
export LIBGL_ALWAYS_INDIRECT=1
Expand Down

0 comments on commit 428c2f4

Please sign in to comment.