Skip to content

Instantly share code, notes, and snippets.

@amoldeshpande
amoldeshpande / .tcshrc
Created September 12, 2023 19:33
a sample .tcshrc
#set verbose
# set environmental variables
setenv EDITOR gvim.exe
setenv PAGER c:/bin/less
# setenv DISPLAY unix:0
setenv LESS "-B -c -h4 -i -M -q -x4 -G"
setenv SHELL C:/bin/tcsh-x64.exe
if ($?PROCESSOR_ARCHITECTURE) then
setenv USER $USERNAME
setenv LOGNAME $USER
@amoldeshpande
amoldeshpande / .tcshrc
Last active September 13, 2023 00:07
oh-my-posh configuration for tcsh
#add this line
alias precmd "source ~/omp-prompt.csh"
If you have large repos, cwdcmd is probably a better alias.
@amoldeshpande
amoldeshpande / .tcshrc
Created August 16, 2020 14:51
tcsh git branch in prompt (Windows only)
#add this line
alias precmd "source ~/gitprompt.csh"
@amoldeshpande
amoldeshpande / unreal_build.cmd
Last active August 16, 2020 20:45
Sublime Text project and build files (all go into your Data/Packages/User directory)
@echo off
call %1\VC\Auxiliary\Build\vcvars64.bat
echo on
call unreal_build_cmdline.cmd