Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

zsh open current directory in explorer

# To open the current directory in Explorer 
explorer.exe .
# You can set alias with .bashrc for a custom command:
echo 'alias explorer="explorer.exe ."' >> ~/.bashrc
source ~/.bashrc
# Now type explorer in terminal:
explorer 
# if you user zsh terminal:
echo 'alias explorer="explorer.exe ."' >> ~/.zshrc
source ~/.zshrc
explorer 
#Follow me on Linkedin if this helped ;)
Source by www.linkedin.com #
 
PREVIOUS NEXT
Tagged: #zsh #open #current #directory #explorer
ADD COMMENT
Topic
Name
5+6 =