blob: da13974231f46adb990c4e6b96b746f0eeb72a36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
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:%~> "
set complete = recexact
set autolist = ambiguous
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 sw=4 ts=4 nofl magic"
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 /usr/share/git/completion/git-completion.tcsh`) then
source ${HOME}/.git-completion.tcsh
endif
#if (`filetest -e ${HOME}/.tcsh-completion.tcsh`) then
#source ${HOME}/.tcsh-completion.tcsh
#endif
if (`filetest -e /etc/complete.tcsh`) then
source /etc/complete.tcsh
endif
|