.dotfiles

Check-in [031eb28c85]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:tcsh: Improved completion
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: 031eb28c853bfd66041b4d8b60b3ef107b3aa9621343652b8cf09fe93bf0b0e4
User & Date: Cthulhux 2020-07-02 10:33:32
Context
2020-07-02
10:33
tcsh: Improved completion Leaf check-in: 031eb28c85 user: Cthulhux tags: trunk
2020-06-17
00:54
StumpWM and dwm are consolidated now. check-in: 023a24cba5 user: Cthulhux tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tcsh/.cshrc.

1
2
3
4
5



6
7




8

9
10
11
12
# tcsh settings:
set history = 2000          # Should be enough for the time being
set savehist = (2000 merge) # Save and merge with existing saved 
set histfile = ~/.tcsh_history
set prompt = '[%n@%m:%~]%# '



set autolist                # Tab completion list
set complete = enhance      # Case-insensitivity for the latter






bindkey "^R" i-search-back

# Import paths etc.:
source $HOME/.cshenv





>
>
>


>
>
>
>

>




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# tcsh settings:
set history = 2000          # Should be enough for the time being
set savehist = (2000 merge) # Save and merge with existing saved 
set histfile = ~/.tcsh_history
set prompt = '[%n@%m:%~]%# '

# Completion:
set autoexpand              # Tab completion expansion
set autolist                # Tab completion list
set complete = enhance      # Case-insensitivity for the latter
complete cd 'C/*/d/'        # "cd" should only expand directories
complete chown 'p/1/u/'     # "chown" should only expand users
complete which 'p/1/c/'     # "which" should only expand commands
complete where 'p/1/c/'     # ... so should "where"

# Key bindings:
bindkey "^R" i-search-back

# Import paths etc.:
source $HOME/.cshenv