Last active
March 2, 2021 12:20
-
-
Save coltenkrauter/c37b727c33ff4cf96395fcbf0245b79b to your computer and use it in GitHub Desktop.
WSL2 .profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.profile | |
cd ~/Repositories | |
# Useful aliases | |
alias subl="/mnt/c/Program\ Files/Sublime\ Text\ 3/subl.exe" | |
alias chrome="/mnt/c/Program\ Files\ \(x86\)/Google/Chrome/Application/chrome.exe" | |
alias github="chrome https://github.com/coltenkrauter?tab=repositories" | |
alias downloads="echo /mnt/c/Users/Colten/Downloads/" | |
alias clo="git clone" | |
alias add="git add" | |
alias com='git commit -m "$(read -p "Commit message: " msg; echo $msg)"' | |
alias push="git push" | |
# Required for gpg key signing with GitHub | |
export GPG_TTY=$(tty) | |
# To initialise ssh agent for secure connection with GitHub | |
# eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_rsa_github; Moving this to ~/.ssh/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment