Cmder Setting the default directory when open

Source: Internet
Author: User
Tags ssh sublime text
Cmder Setting the default directory when open

Want to open cmder automatically into the working directory, how to configure.

Cmder Config directory has a user-profile.cmd file, this is the startup Cmder automatically executed script, each open will perform a simple join switch to the specified directory:

:: Use this file to run your own startup commands

:: Use in front of the  command to prevent printing the command
  :: Uncomment this to has the SSH agent load when Cmder starts

:: Call "%git_install_root%/cmd/start-ssh-agent.cmd" ::

Uncomment this next, lines to use pageant as the SSH Authentication Agent

:: SET ssh_auth_sock=/tmp/.ssh-pa Geant-auth-sock

:: Call "%git_install_root%/cmd/start-ssh-pageant.cmd"

:: Can add your plugins to the Cmder p Ath like so

:: Set "path=%cmder_root%\vendor\whatever;%path%"


@cd D:\wamp64\www\tools

Alternatively, open the \config\user-aliases.cmd file in the Cmder installation directory to set up shortcuts, such as

st= "D:\Sublime3\sublime_text.exe"//input St To quickly open sublime text 3 w=cd/d d:/wamp64/www// The input w will automatically jump to the d:/wamp64/www/directory.         =CD. Input.. Quick return to previous level folder 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.