DEV Community

Hilton Meyer
Hilton Meyer

Posted on • Originally published at hiltonmeyer.com on

1

VS Code Terminal Environment Variables

I enjoy using the VS Code integrated terminal. With the shortcut key Ctrl+ I can pull it up and hide it. I really like the way you can hide the panels and focus on the code easily. I've been running up against getting alias' working though. I had been putting them in the ~/.bash_profile file but it wasn't working. I finally decided to dig a bit deeper and found the answer, ~/.bashrc. This is great because I can now set my environment up and get shortcuts working, this is the example of my current setup:

alias develop="cd /c/applications"
alias glog="git log --pretty=oneline --graph --decorate --all"
alias glog_nomerge="git log --no-merges --oneline"
alias gpod="git pull --rebase origin develop"
alias gpush="git push origin develop"

Enter fullscreen mode Exit fullscreen mode

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay