diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-03-01 12:15:57 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-03-01 12:15:57 -0800 |
| commit | 1231a7262e6d9c54d900264b8472f66f46653746 (patch) | |
| tree | 3891787133c189a927e6096d346ef3b0f6b51d96 /config | |
| parent | e01b84a6698f5060fd7dea789fc0ffa872f26b15 (diff) | |
copy bash to tcsh
Diffstat (limited to 'config')
| -rw-r--r-- | config/tcshrc | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/config/tcshrc b/config/tcshrc new file mode 100644 index 0000000..102ba72 --- /dev/null +++ b/config/tcshrc @@ -0,0 +1,48 @@ +set path = (~/.ghcup/bin ~/.cabal/bin ~/.cargo/bin ~/.mcabal/bin ~/.local/musl/bin ~/.local/bin /usr/local/bin /usr/bin /bin) + +set prompt = "%n@%m:%~> " + +if ( ${?PKG_CONFIG_PATH} ) then + setenv PKG_CONFIG_PATH `echo /usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}` +else + setenv PKG_CONFIG_PATH "/usr/local/lib/pkgconfig" +endif + +setenv ALTERNATE_EDITOR emacs +setenv EDITOR "emacsclient -c" +setenv VISUAL "emacsclient -c" +setenv MORE "FRX" +setenv LESS "FRX" +setenv PAGER `which less || which more || echo "cat"` +setenv EXINIT "set ai ic sm sw=4 ts=4" + +alias cb "xclip -selection clipboard" +alias bctl "bluetoothctl" +alias less "less -i" + +alias e "emacs" +alias a "emacsclient -n" +alias femacs "fbterm -- fbterm-emacs.sh" +alias demacs "emacs --daemon" + +alias ta "tmux attach" + +alias gl "git log --graph --all --oneline" +alias glt "git log --graph --all --oneline --simplify-by-decoration" +alias gs "git status" +alias gc "git checkout" +alias gb "git branch" +alias gd "git diff --patch" +alias gds "git diff --patch --cached" + +alias pd "pushd" +alias ppd "popd" +alias up "cd .." + +alias ll "ls -la" +alias ls "ls --color=auto" +alias grep 'grep --color=auto' + +if (`filetest -e /etc/complete.tcsh`) then + source /etc/complete.tcsh +endif |
