-
Notifications
You must be signed in to change notification settings - Fork 0
/
.csh_aliases
90 lines (65 loc) · 1.61 KB
/
.csh_aliases
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/bin/csh
### Aliases ###
## FIX: cd was setup to alawys change the prompt
unalias *
## Set the aliases
alias ls 'ls --group-directories-first --color=auto'
alias cls 'clear -x; ls --group-directories-first --color=auto'
alias ll 'ls -lh'
alias lla 'ls -Alh'
alias lsa 'ls -Ah'
alias cd.. 'cd ..'
alias cd. 'cd ..'
alias mkdir 'mkdir -p'
alias cp 'cp -rd'
alias rm 'rm -rf'
alias ln 'ln -s'
alias du 'du -sh'
alias df 'df -h'
alias h 'history'
alias ssh "ssh -X"
alias scp "scp -r"
alias su "su -"
#alias diff "git diff --no-index -w"
alias diff "diff -swuB --color=auto"
alias tree "tree -a --dirsfirst"
alias watch "watch -c"
#alias quota "quota -sv"
alias g "gedit"
alias s 'source'
alias e 'evince'
alias vim 'gvim'
## grep options
set grepopts="--color=auto -is"
# set grepopts=""
## grep alias
setenv grepopts "$grepopts"
alias grep "grep $grepopts"
## hack to enable aliases for sudo
alias sudo "sudo "
### autocomplete ####
## Setup some autocomplete options
set autolist = ambiguous # list completion options if ambigous
set complete = enhance # case insensistive autocomplete
set autoexpand
set color
set nobeep
#set filec
#set implicitcd
#unset ignoreeof
## other options
#stty erase ^?
## line editing
setenv EDITOR="vim"
#setenv EDITOR="gedit"
setenv VISUAL=${EDITOR}
## setup mailx mailto
#setenv MALITO "[email protected]"
#setenv MALITO "[email protected]"
setenv MALITO "[email protected]"
### paths ###
## add notepad++ path to the path variable
#setenv PATH "${PATH}:/mnt/c/Program\ Files/Notepad++/"
### ls colors ###
## LS_COLORS file fix
#setenv LS_COLORS "fi=01;30:$LS_COLORS"