user-profile


cmder ~ alias for user home folder


Simple question :
I am using cmder and i would like to be able to define ~(or ~USERID) as my %USERPROFILE% environment variables. I edited %CMDERROOT%\config\aliases to add this line : ~=%USERPROFILE% it does work for ls command but not for cd for instance.
Is there a better way to have this unix-like user profile aliases ?
For those who would like an answer to that question, it have been addressed in the following github issue :
https://github.com/cmderdev/cmder/issues/41
Not a direct answer, but a decent work-around was mentioned in the discussion on that page:
clink, the vendor package that would handle this has a similar issue report marked as "wontfix" So, here's the workaround
I'm using an AutoHotKey script for that:
#IfWinActive ahk_class VirtualConsoleClass
::~::D:/nicolas
#IfWinActive
It replaces automatically ~ with D:/nicolas in ConEmu console (and only ConEmu console)
I have not tried it in a script executed from the command line, but it works from the command line directly, as nicolas suggests.

Related Links

What is an inclusive way of asking for and storing a user's gender and sexual orientation?
How to add custom HTML on user profile page in Drupal 8?
cmder ~ alias for user home folder
Object Passing through Session in webforms asp.net
about.me there was an error saving Backstory
Does gmail has getproflie api to fetch users profile and not profile of contact
How to creating a user profile (properties) for real estate recommendations engine

Categories

HOME
algolia
cors
microcontroller
nagios
bitbucket
crash
confluence-rest-api
liquidsoap
subprocess
segmentation-fault
google-my-business-api
spring-data-solr
aws-sdk-cpp
xmlhttprequest
mbed
element
github-flavored-markdown
google-closure-compiler
pylint
aws-devicefarm
computation-theory
xna
orgchart
multiple-inheritance
typeclass
foxpro
slim-lang
node-soap
flickr
sampling
motherboard
queryover
mockserver
blueimp
contenteditable
text-extraction
python-venv
cakephp-3.2
codepen
qtwebkit
monaca
appcmd
nservicebus6
cardview
blitz3d
fileopendialog
alfred
foreground
magick.net
android-xmlpullparser
sqlxml
innertext
web-optimization
markerspiderfier
app-data
commercetools
gitk
hexagonal-tiles
stderr
screen-lock
genero
veeam
service-broker
indices
redmine-plugins
sat4j
triplestore
nspopupbutton
twitter-finagle
debuggervisualizer
rssi
xtify
complete
dylan
typography
wpd
mysql2
dnsbl
shapado
nude.js
animationdrawable
helicontech
functional-specifications
n2
meego-harmattan
noise-reduction
glassfish-embedded
appointment
pixel-bender
datadude
manuals

Resources

Encrypt Message