tcsh settings

2025. 10. 23. 12:00·Linux
# ===== 기본 옵션 =====
set autolist                       # 탭 자동완성 목록
set correct=all                    # 오타 교정 제안
set noclobber                      # > 덮어쓰기 방지 (>|로 강제)
set notify                         # 백그라운드 작업 종료 즉시 알림
set autologout = 0                 # 자동 로그아웃 해제

# ===== 히스토리 =====
set histfile = ~/.tcsh_history
set history  = 5000
set savehist = (5000 merge)
set histdup  = erase               # 중복 제거
set promptchars = "%#"             # !, %, # 기호 활성

# ===== 키 바인딩 (↑/↓로 prefix 검색, Home/End 등) =====
bindkey -k up    history-search-backward
bindkey -k down  history-search-forward
bindkey -k home  beginning-of-line
bindkey -k end   end-of-line
bindkey "^W"     backward-delete-word
bindkey "^U"     backward-kill-line
bindkey "^Y"     yank

# ===== 컬러 ls/grep, 유틸 =====
if ( $?LS_COLORS == 0 ) then
  if ( -x /usr/bin/dircolors ) eval `dircolors -c`
endif
setenv CLICOLOR 1
alias ls   'ls --color=auto -F'
alias ll   'ls -alh'
alias la   'ls -A'
alias grep 'grep --color=auto'
alias dfh  'df -hT'
alias duh  'du -h --max-depth=1'

# ===== 디렉터리 편의 =====
set cdpath = ( ~ ~/projects /data /eda /opt )
alias ..   'cd ..'
alias ...  'cd ../..'
alias d    'dirs -v'               # 디렉터리 스택 보기

# ===== 안전/품질 =====
limit coredumpsize 0
umask 022

# ===== 앱 연동(옵션) : fzf 있으면 간단 탐색 =====
if ( -x /usr/bin/fzf ) then
  alias f   'fzf'
  alias vf  'vim `fzf`'
  alias cdf 'cd `fzf`'
endif

# ===== 자동 완성 =====
complete cd  'p/1/d/'
complete man 'p/1/c/'
저작자표시 비영리 변경금지 (새창열림)
'Linux' 카테고리의 다른 글
  • xrdp 원격 접속 설정
Zi_Yoon
Zi_Yoon
머리 속에 정리하는 곳 <전자공학>
  • Zi_Yoon
    ZY_repo
    Zi_Yoon
  • 전체
    오늘
    어제
    • 분류 전체보기 (72) N
      • Hardware (9) N
        • RTL (1) N
        • RISC-V Project (1)
        • Computer Architecture (0)
        • AMBA (2)
        • FPGA (0)
        • 논문 읽기 (1)
        • ETC. (4)
      • Linux (2) N
      • EDA Tool (0)
      • HDLBits (25)
        • Verilog (19)
        • Circuits (4)
        • Verification (0)
      • IDEC 교육 (22)
        • Embedded C (13)
        • Verilog HDL (9)
      • 42서울 (13)
        • 리눅스 (12)
        • 네트워크 (1)
      • 생각 (1)
      • 취업 (0)
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    bit-wise and
    fpga
    AXI4
    QUARTUS
    AppArmor
    lsblk
    tcsh
    embedded
    비대칭 키
    vm
    ssh
    verilog
    centos
    APT
    c
    hdlbits
    debian
    Keil
    pointer
    research rabbit
    signal trap
    ARM
    세션 키
    verilator
    fucntion
    axi
    AMBA
    IDEC
    charater
    보안 쉘
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
Zi_Yoon
tcsh settings
상단으로

티스토리툴바