System/OS
2022.02.25 17:52
개인적으로 쓰고 있는 zshrc 파일
조회 수 995 댓글 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] 초간단 Postfix, Covecot, SSL/TLS (SMTP)
-
[linux] 간단한 find 명령어 설명(업데이트 해야 함)
-
[linux] man 명령어 뽀개기..
-
HTTPS와 SSL 인증서
-
SVN(Subversion) 설치와 설정 (sasl 인증 적용 포함)
-
[windows] 윈도우즈 콘솔에서 정품인증 하는 방법
-
[mac] 맥(OSX)에서 NTFS, 윈도우에서 HFS+ 사용하기
-
[linux] awk 명령어
-
[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] 초간단 SquirrelMail 설치/설정 (다람쥐 메일)
-
[linux] CentOS Apache Httpd에 https 적용