-
Notifications
You must be signed in to change notification settings - Fork 0
MobaXterm
Dominik Jain edited this page Nov 19, 2024
·
6 revisions
Download binaries (from MobaXterm/slash/bin folder of an old version) and extract them to ~/bin/MobaXterm/slash/bin/
.
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
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
Add inclusion of .bashrc
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
Add session:
- Terminal shell: Bash (external)
- Pick Git-Bash