-
terminal에서 ll 사용하기OS/macOs 2020. 10. 30. 14:08
mac이 업데이트 되면서
macOS Catalina부터는 쉘이 bash(bourne again shell) 에서 zsh(z shell)로 변경되었다
단기사용
alias ll = 'ls -al'
vi ~/.bash_profile
링크의 전문을 복사한후 내용을 저장한다.
vi .zshrc
if [ -f ~/.bash_profile ]; then . ~/.bash_profile fi
파일 맨위에 넣어놓으면 된다.
터미널 종료후 다시 실행하면
ll 명령어를 사용할 수 있다.