zoukankan      html  css  js  c++  java
  • [ ENV ] 记录一些自己比较喜欢的初始化语句

    https://www.cnblogs.com/yeungchie/

    .cdsinit

    envSetVal("layoutXL" "autoArrange" 'boolean nil)              ; 关闭功能:进入 XL 模式时自动排列窗口
    envSetVal("layoutXL" "lxSchematicDefaultApp" 'cyclic "None")  ; 关闭功能:XL 模式打开 Layout 时自动打开关联电路
    envSetVal("layoutXL" "openConnRef" 'boolean nil)              ; 关闭功能:XL 模式 Edit in 时自动打开关联电路
    hiSetFilterOptions(t t t t t t t )                            ; CIW 日志全开
    ddsOpenLibManager()                                           ; 启动同时开启 Library Manager
    

    .vimrc

    set number
    set ts=4
    set expandtab
    set autoindent
    set termencoding=utf-8
    set fileformats=unix
    set encoding=prc
    au BufNewFile,BufRead *.lib,*.layermap set filetype=sh
    au BufNewFile,BufRead *.il,*.skl,*.cdsinit,*.tf,*.drf set filetype=skill
    

    .bashrc

    alias la='ls -a'
    alias ll='ls -l'
    alias lla='ls -al'
    alias b='cd ..'
    alias v='nohup virtuoso >/dev/null 2>&1 &'
    alias gt='gnome-terminal &'
    
    export EDITOR=gvim
    export CDS_LOG_PATH=$HOME/LOG
    
    export PS1=$'[e[1me[31m]┌ A [[e[1me[33m]w[e[1me[31m]]
    [e[1me[31m]└─ [e[1me[34m]u [e[1me[33m]>[e[0;10m] '
    echo -e "  e[31;51;1m                                                        e[0m"
    echo -e "  e[31;51;7m  __  __ ____ __  __ _  __ _____ _____ __ __ ____ ____  e[0m"
    echo -e "  e[31;51;7m   / // __// / / // |/ // ___// ___// // //  _// __/  e[0m"
    echo -e "  e[31;51;7m     // _/ / /_/ //    // (_ // /__ / _  /_/ / / _/    e[0m"
    echo -e "  e[31;51;7m   /_//___/ \____//_/|_/ \___/ \___//_//_//___//___/    e[0m"
    echo -e "  e[31;51;7m                                                        e[0m"
    echo -e "  e[31;51;1m                                                        e[0m"
    

    .cshrc

    set prompt="%{33];[%.]$cwd07%}%{e[33;51;1m%}[%/]%{e[0m%} 
    %{e[31;51;1m%}$HOSTNAME >%{e[0m%} "
    alias cd 'cd !*;set prompt="%{33];[%.]$cwd07%}%{e[33;51;1m%}[%/]%{e[0m%} 
    %{e[31;51;1m%}$HOSTNAME >%{e[0m%} "'
    
  • 相关阅读:
    Median Value
    237. Delete Node in a Linked List
    206. Reverse Linked List
    160. Intersection of Two Linked Lists
    83. Remove Duplicates from Sorted List
    21. Merge Two Sorted Lists
    477. Total Hamming Distance
    421. Maximum XOR of Two Numbers in an Array
    397. Integer Replacement
    318. Maximum Product of Word Lengths
  • 原文地址:https://www.cnblogs.com/yeungchie/p/13782710.html
Copyright © 2011-2022 走看看