참조: PSReadLine # 설치 Install-Module -Name PSReadLine -AllowClobber -Force # 예측 사용 Set-PSReadLineOption -PredictionSource History 참조: 히스토리 제한 # 히스토리 개수 제한 Set-PSReadlineOption -MaximumHistoryCount 100 -HistoryNoDuplicates # 3글자 초과만 히스토리에 남김 Set-PSReadlineOption -AddToHistoryHandler { param([string]$line) return $line.Length -gt 3 }
참조: https://askubuntu.com/questions/15520/how-can-i-tell-ubuntu-to-do-nothing-when-i-close-my-laptop-lid /etc/systemd/logind.conf 수정 HandleLidSwitch=ignore logind 재시작 $ sudo service systemd-logind restart