System/OS
2022.02.25 17:52
개인적으로 쓰고 있는 zshrc 파일
조회 수 835 댓글 0
최근에 Flutter 추가 ㅋㅋㅋ
#!/bin/zsh
# Add commonly used folders to $PATH
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
# Specify default editor. Possible values: vim, nano, ed etc.
export EDITOR=vim
# File search functions
function f() { find . -iname "*$1*" ${@:2} }
function r() { grep "$1" ${@:2} -R . }
# Create a folder and move into it in one command
function mkcd() { mkdir -p "$@" && cd "$_"; }
# Custom aliases
alias vm='~/bin/vm_manage.sh'
alias gg='~/bin/vm_console.sh'
alias zz='~/bin/vm_desktop.sh'
alias console='~/bin/vm_console.sh'
alias desktop='~/bin/vm_desktop.sh'
alias ll='ls -p'
# Example aliases
alias cppcompile='c++ -std=c++11 -stdlib=libc++'
alias g='git'
alias python='python3'
alias pip='pip3'
alias ll='ls -alp'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Java 1.8
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
export PATH=$HOME/.nodebrew/current/bin:$PATH
# Flutter
export PATH=$PATH:~/flutter/bin
-
[linux] CentOS Apache Httpd에 https 적용
-
[linux] 쉘스크립트 expr
-
[linux] awk 명령어
-
[linux] split 명령어
-
HTTPS와 SSL 인증서
-
[mac] 맥OSX에서 NTFS 쓰기 기능 활성화
-
[mac] 맥(OSX)에서 NTFS, 윈도우에서 HFS+ 사용하기
-
[linux] CentOS 6.5 에서 "Bringing up interface eth0: Determining if ip address 121.78.127.197 is already in use for device eth0..."
-
[linux] resolv.con 초기화 되는 문제
-
[linux] yum 업데이트 시 커널 제외하기
-
SVN(Subversion) 설치와 설정 (sasl 인증 적용 포함)
-
[svn] SVN trunk 변경사항 되돌리기 (SVN Rollback)