diff --git a/bin/alias.bat b/bin/alias.bat index 94a51eb..4b6e5d5 100644 --- a/bin/alias.bat +++ b/bin/alias.bat @@ -1,2 +1,4 @@ @echo off -echo %* >> ../config/aliases +echo %* >> %~dp0..\config\aliases +doskey /macrofile=%~dp0..\config\aliases +echo Alias created diff --git a/config/.history b/config/.history index e69de29..8b13789 100644 --- a/config/.history +++ b/config/.history @@ -0,0 +1 @@ + diff --git a/config/aliases b/config/aliases index 8f9b560..9caedd2 100644 --- a/config/aliases +++ b/config/aliases @@ -1,2 +1,3 @@ e.=explorer . gl=git log --oneline --all --graph --decorate +hej=dir diff --git a/vendor/init.bat b/vendor/init.bat index f1d98d6..d81b404 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -22,4 +22,4 @@ PATH=%PATH%;%rootDir%\bin doskey /macrofile=%rootDir%\config\aliases :: cd into users homedir -cd /d "%userprofile%" \ No newline at end of file +cd /d "%userprofile%"