Skip to content

Instantly share code, notes, and snippets.

@itse4elhaam
Created January 15, 2024 06:51
Show Gist options
  • Save itse4elhaam/614bdd37bd56d304b87b27dfa2bd6211 to your computer and use it in GitHub Desktop.
Save itse4elhaam/614bdd37bd56d304b87b27dfa2bd6211 to your computer and use it in GitHub Desktop.
Bash shorcuts
# Open the current directory in the file explorer
alias ex='explorer.exe .'
# Copy the current directory path to the clipboard
alias cpth='pwd | tr -d "\n" | xclip -selection clipboard'
# aliases for common win utilities
alias explorer='explorer.exe .'
alias notepad='notepad.exe'
alias edge='msedge.exe'
# Starship prompt initialization
#eval "$(starship init bash)"
bind '"\C-H": "\C-W"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment