merlin zsh compatible
This commit is contained in:
@@ -1,40 +1,21 @@
|
||||
# Merlin devbox specific aliases
|
||||
alias l=ls
|
||||
alias ll='ls -l --color=auto'
|
||||
alias infosys='cd ~/repos/infosys; pushonline -minfosys'
|
||||
export PATH=/opt/tiger/tce/tce_tools/bin:/home/tiger/.local/bin:/opt/common_tools:/usr/local/go/bin:$PATH
|
||||
# Patch prep_env.sh for zsh compatibility before sourcing
|
||||
source <(sed -e 's/^shopt -s histappend$/[[ -n "${BASH_VERSION}" ]] \&\& shopt -s histappend/' \
|
||||
-e 's/\${!\([^}]*\)}/${(P)\1}/g' \
|
||||
/workspace/mlx/../vscode/prep_env.sh)
|
||||
|
||||
alias cp='cp -i'
|
||||
alias mv='mv -i'
|
||||
alias m='more'
|
||||
alias ll='ls -l'
|
||||
alias lsl='ls -lrt'
|
||||
alias lm='ls -al|more'
|
||||
alias l='ls -lrt'
|
||||
alias c='cat'
|
||||
alias v='vi'
|
||||
alias cl='clear'
|
||||
alias pg='ps -ef| grep '
|
||||
|
||||
# Set terminal type to xterm for better compatibility with terminal features
|
||||
# export TERM=xterm
|
||||
|
||||
# Customize command prompt to show: hostname(TCE_info):current_directory$
|
||||
# \h = hostname, \W = current working directory basename, \$ = $ for user/# for root
|
||||
# export PS1='\h($TCE_PSM@$TCE_CLUSTER:$TCE_ENV):\W\$ '
|
||||
|
||||
source /workspace/mlx/../vscode/prep_env.sh
|
||||
# sh -c /opt/tiger/mlx_deploy/greeting.sh
|
||||
source /opt/tiger/mlx_deploy/mlxrc
|
||||
if [ -f /opt/tiger/mlx_deploy/pythonpath_rc ]; then
|
||||
|
||||
if [ -f "/opt/tiger/mlx_deploy/pythonpath_rc" ]; then
|
||||
source /opt/tiger/mlx_deploy/pythonpath_rc
|
||||
fi
|
||||
if command -v import_hdfs_envs.sh > /dev/null 2>&1 && [ -z ]; then source import_hdfs_envs.sh; fi
|
||||
if [ -f /opt/tiger/rh2_bashrc ]; then
|
||||
|
||||
if [ -f "/opt/tiger/rh2_bashrc" ]; then
|
||||
source /opt/tiger/rh2_bashrc
|
||||
fi
|
||||
|
||||
source /opt/tiger/mlx_deploy/userrc
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
# huggingface proxy
|
||||
export HF_NETWORK_PROXY=http://huggingface-proxy-sg.byted.org
|
||||
|
||||
Reference in New Issue
Block a user