Skip to content

MobaXterm

Dominik Jain edited this page Nov 19, 2024 · 6 revisions

Add binaries (from old MobaXterm version)

Download binaries (from MobaXterm/slash/bin folder of an old version) and extract them to ~/bin/MobaXterm/slash/bin/.

Set up PATHEXT Aliases

In contrast to bash, Windows supports a configurable set of file extensions which can be executed when found on the PATH. These extensions are configured in the PATHEXT envioronment variable.

  • Add ".LNK" to PATHEXT
  • Use Explorer to add links to programs that shall be made available in ~/Bin; configure such links to run in "."

Use genPathExtAliases to set up aliases for bash that will enable running the respective files via Pyhton.

cd ~dev
git clone git@github.com:opcode81/genPathExtAliases.git
cd genPathExtAliases
pyton genPathExtAliases.py msys

.bashrc

clear

source ~/dev/genpathextaliases/pathextAliases.sh

alias ll="ls -l"
alias cd..="cd .."
alias ..="cd .."
alias dir="ll"
alias dev="cd ~/Dev"
alias web="cd ~/Dev/Web"
alias gti=git

# call 'conda init' and adjust the PATH depending on the conda.sh file that is listed in the outputs
source /C/ProgramData/Miniconda3/etc/profile.d/conda.sh

# make sure rsync uses Putty's plink (should be in PATH)
export RSYNC_RSH="plink.exe"

# add old MobaXterm binaries to path
export PATH=$PATH:~/bin/MobaXterm/slash/bin

.bash_profile

Add inclusion of .bashrc

if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

Configuring the Git-Bash Shell

Add session:

  • Terminal shell: Bash (external)
  • Pick Git-Bash
Clone this wiki locally