Skip to content

Instantly share code, notes, and snippets.

@langheran
Last active April 9, 2021 00:40
Show Gist options
  • Save langheran/9ced705abda7619dc43fa82e75ee65e6 to your computer and use it in GitHub Desktop.
Save langheran/9ced705abda7619dc43fa82e75ee65e6 to your computer and use it in GitHub Desktop.
~/bat_profile_rc.cmd
doskey save=doskey /history $g$g %USERPROFILE%\command_history.log
doskey quit=doskey /history $g$g %USERPROFILE%\command_history.log $T exit
doskey exit=doskey /history $g$g %USERPROFILE%\command_history.log $t exit $1 $2
doskey history=find /I "$*" %USERPROFILE%\command_history.log
doskey activate=.\venv\Scripts\activate.bat
doskey getconfig=aws lambda get-function-configuration --function-name "$*-dev-app" --query "Environment.Variables" $g config-dev.json
cls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment