
anne.๐ซ
@ann3nova@corteximplant.com
@ann3nova@corteximplant.com
@orhun@fosstodon.org
Terminal power users will like this ๐ฅ
๐ **tiny-dc** โ A tiny but mighty TUI directory changer.
๐ Faster than doing cd + ls
๐ฏ Supports jumping to previously visited directories
๐ฌ Has Vim-like key bindings
๐ฆ Written in Rust & built with @ratatui_rs
โญ GitHub: https://github.com/n1ghtmare/tiny-dc
#rustlang #ratatui #tui #tool #commandline #directory #terminal #cli
@radareorg@infosec.exchange
radare2 6.0 is out! (codename "brainbow" ๐ง ๐)
A major release focused on stability and maintainability while bringing many new features under the hood. Breaking the ABI compatibility from the 5.9.x saga for to settle a new base for the upcoming versions. #reverseengineering #radare2 #unix #cli
@ann3nova@corteximplant.com
@smallcircles@social.coop
@pvergain@kolektiva.social
- https://willmcgugan.github.io/announcing-toad/ (2025-07-23, Announcing Toad - a universal UI for agentic coding in the terminal, by https://willmcgugan.github.io/, @willmcgugan)
--<--
Iโm a little salty that neither Anthropic nor Google reached out to me before they released their terminal-based AI coding agents.
You see until recently I was the CEO of Textualize, a startup promoting rich applications for the terminal. Textualize didnโt make it as a company, but I take heart that we built something amazing. There is now a thriving community of folk building TUIs that I am still a part of.
So you will understand why when I finally got round to checking out Claude code and Gemini CLI, I was more interested in the terminal interface than the AI magic it was performing. And I was not impressed. Both projects suffer from jank and other glitches inherent to terminals that Textualize solved years ago.
....
Iโm currently taking a yearโs sabbatical. When Textualize wrapped up I genuinely thought I was sick of coding, and I would never gain be able to find joy in building things. Iโm happy to be wrong about that. I still enjoy coding, and Toad feels like the perfect hobby project for my very particular set of skills. Something I can build while continuing to focus on my physical and mental health (running a startup is taxing).
So I am going to build it.
I am building it.
Hereโs a quick video of Toad in its current state: https://www.youtube.com/watch?v=EKsCS54xduo
What I have in mind is a universal front-end for AI in the terminal. This includes both AI chat-bots and agentic coding. The architecture I alluded to earlier is that the front-end built with Python and Textual connects to a back-end subprocess. The back-end handles the interactions with the LLM and performs any agentic coding, while the front-end provides the user interface. The two sides communicate with each other by sending and receiving JSON over stdout and stdin.
...
Toad isnโt quite ready for a public release. It remains a tadpole for now, incubating in a private repository. But you know Iโm all about FOSS, and when its ready for a public beta I will release Toad under an Open Source license.
With a bit of luck, this sabbatical neednโt eat in to my retirement fund too much. If it goes well, it may even become my full-time gig.
I will shortly invite a few tech friends and collaborators to the project. These things canโt be the work of a single individual and I am going to need feedback as I work. If you would like to be a part of that, then feel free to reach out. But please note, I would like to prioritize folk in the Open Source community who have potentially related projects.
For everyone else, I will be posting updates regularly here and on my socials (link at the bottom of the page). Expect screenshots, videos, and long form articles. Please be patientโyou will be agentic toading before too long.
Looking for markdown streaming? : https://willmcgugan.github.io/streaming-markdown/ (Efficient streaming of Markdown in the terminal)
-->--
#CLI #Terminal #python #textual #WillMcGugan #Toad #markdown
@pvergain@kolektiva.social
- https://willmcgugan.github.io/announcing-toad/ (2025-07-23, Announcing Toad - a universal UI for agentic coding in the terminal, by https://willmcgugan.github.io/, @willmcgugan)
--<--
Iโm a little salty that neither Anthropic nor Google reached out to me before they released their terminal-based AI coding agents.
You see until recently I was the CEO of Textualize, a startup promoting rich applications for the terminal. Textualize didnโt make it as a company, but I take heart that we built something amazing. There is now a thriving community of folk building TUIs that I am still a part of.
So you will understand why when I finally got round to checking out Claude code and Gemini CLI, I was more interested in the terminal interface than the AI magic it was performing. And I was not impressed. Both projects suffer from jank and other glitches inherent to terminals that Textualize solved years ago.
....
Iโm currently taking a yearโs sabbatical. When Textualize wrapped up I genuinely thought I was sick of coding, and I would never gain be able to find joy in building things. Iโm happy to be wrong about that. I still enjoy coding, and Toad feels like the perfect hobby project for my very particular set of skills. Something I can build while continuing to focus on my physical and mental health (running a startup is taxing).
So I am going to build it.
I am building it.
Hereโs a quick video of Toad in its current state: https://www.youtube.com/watch?v=EKsCS54xduo
What I have in mind is a universal front-end for AI in the terminal. This includes both AI chat-bots and agentic coding. The architecture I alluded to earlier is that the front-end built with Python and Textual connects to a back-end subprocess. The back-end handles the interactions with the LLM and performs any agentic coding, while the front-end provides the user interface. The two sides communicate with each other by sending and receiving JSON over stdout and stdin.
...
Toad isnโt quite ready for a public release. It remains a tadpole for now, incubating in a private repository. But you know Iโm all about FOSS, and when its ready for a public beta I will release Toad under an Open Source license.
With a bit of luck, this sabbatical neednโt eat in to my retirement fund too much. If it goes well, it may even become my full-time gig.
I will shortly invite a few tech friends and collaborators to the project. These things canโt be the work of a single individual and I am going to need feedback as I work. If you would like to be a part of that, then feel free to reach out. But please note, I would like to prioritize folk in the Open Source community who have potentially related projects.
For everyone else, I will be posting updates regularly here and on my socials (link at the bottom of the page). Expect screenshots, videos, and long form articles. Please be patientโyou will be agentic toading before too long.
Looking for markdown streaming? : https://willmcgugan.github.io/streaming-markdown/ (Efficient streaming of Markdown in the terminal)
-->--
#CLI #Terminal #python #textual #WillMcGugan #Toad #markdown
@unixroot@indieweb.social
@unixroot@indieweb.social
@kodingwarrior@hackers.pub
์ด ๊ธ(๊ทธ๋ฆฌ๊ณ ํ์์์ด ๋ ๊ธ๋ค)์, ๋ด ๊ฐ๋ฐํ๊ฒฝ์์ ์์ฃผ ์ฌ์ฉํ๊ณ ์๊ณ ์ค์ ๋ก๋ ์ ์ ํ๊ณ ์๋ ๋๊ตฌ์ ๋ํด์ ์๊ฐํ๊ฒ ๋ ๊ฒ ๊ฐ๋ค. ๋ด๊ฐ ์ด๋ค ํ๊ฒฝ์์ ๊ฐ๋ฐํ๊ณ ์๋์ง ๊ถ๊ธํ ๋ถ๋ค์ ๋ด dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํด๋ ์ข์ ๊ฒ ๊ฐ๋ค.
dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ง ๋ณด๋ฉด ๋ญ๊ฐ ๋๋จํด๋ณด์ผ ๊ฒ ๊ฐ์ง๋ง, dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ ๊ทธ๋ฅ ๋จ์ํ๋ค.
.zshrc
/.bashrc
๊ฐ์ ๊ฒ๋ค์ ๋ง์ฃผํ๊ฒ ๋ ๊ฒ์ด๋ค..gitconfig
๊ฐ์ ํ์ผ์ ์์ ํ๊ฒ ๋ ๋๊ฐ ์๋ค.
git config pull.rebase true
๊ฐ์ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง์ ์ ์๋ค. ํ์ง๋ง, ์ด๋ฐ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ฉด .gitconfig์๋ ๊ทธ๋๋ก ๊ธฐ๋ก์ด ๋๋ค.์์์ ์ธ๊ธํ ์์๋ฅผ ๋ณด๋ฉด ์ ์ ์๊ฒ ๋ฏ์ด, ์์ dot(.)์ด ๋ถ์ด์๋ ์ค์ ํ์ผ์ด๋ผ๋ฉด dotfiles๋ผ๊ณ ํ ์ ์๊ฒ ๋ค. dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ ๊ด๋ฆฌ๋ฅผ ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ? ๊ทธ๊ฒ์ ๋ฐ๋ก ์ด๋ค ํ๊ฒฝ์์๋ .zshrc/.gitignore ํ์ผ ๊ฐ์ ๊ฒ๋ค์ ๋์ผํ๊ฒ ์ฌ์ฉํ์ฌ ์์ ์ ํ๋ฆ์ ์จ์ ํ ์ ์งํ ์ ์๋ค๋ ์ฅ์ ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค. dotfiles๋ฅผ git๊ณผ ๊ฐ์ ๋ฒ์ ๊ด๋ฆฌ ๋๊ตฌ๋ก ๊ด๋ฆฌํ ์ ์๊ณ , github ๊ฐ์ ์ ์ฅ์์ ์ฌ๋ ค๋์ ์ ์๋ค๋ฉด.... ์ด๋ค ๊ฐ๋ฐํ๊ฒฝ์ผ๋ก ๊ฐ์ํ๋๋ผ๋ github์์ ๋ฐ๋ก ๋ด๋ ค๋ฐ๊ณ , ๊ฐ ์ค์ ํ์ผ๋ค์ ์ฎ๊ธฐ๋ฉด ๊ทธ๋ง์ด๊ธฐ ๋๋ฌธ์ ๊ฐ๋ฐํ๊ฒฝ ์ค์ ํ๋๋ฐ ๋๋ ์๊ฐ์ ๋น์ฉ์ ๊ต์ฅํ ์๋ ์ ์๋ค.
dotfiles๋ฅผ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ๋ค์ ์ฌ๋ฌ๊ฐ์ง ์๊ฒ ์ง๋ง(symbolic link๋ฅผ ์ด์ฉํ๋ค๋๊ฐ ๋ฑ๋ฑ), ๊ฐ์ธ์ ์ผ๋ก๋ chezmoi๋ฅผ ๊ถ์ฅํ๋ ๋ฐ์ด๋ค. chezmoi๋ dotfiles๋ค์ ๋ฒ์ ๊ด๋ฆฌํ ์ ์๊ฒ ํธ์์ฑ์ ์ ๊ณตํด์ฃผ๋ CLI ๋๊ตฌ์ด๋ค.
chezmoi init https://github.com/malkoG/dotfiles.git
๋ช
๋ น์ ์คํํด๋ณด๋ฉด ๋๋ค.Wezterm์ Konsole/iTerm2/Gnome Terminal/Alacritty๊ณผ ๊ฐ์ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ด๋ฉฐ, Rust ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ์ด ๋์ด ์๊ณ , GPU ๊ฐ์์ ์ง์ํ๋ค. ๋ฐ๋ผ์, ๋ ๋๋ง ์์ฒด๋ ์ด๋ ์ ๋๋ ๋น ๋ฅธ ํธ์ด๋ค.
์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ ํ๋ฒ ์จ๋ณด๋๋ก ๊ถ์ฅํ๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์ธ ๊ฐ์ง ์ ๋ ์๋๋ฐ, Alacritty/Kitty ๊ทธ๋ฆฌ๊ณ ์ด ๊ธ์์ ์๊ฐํ๋ Wezterm ์ ๋ ๋๋ค. ์์ฆ์ Zig ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด์ง Ghostty[1]๋ ์ถ์ฒํ ๋ง ํ ๊ฒ ๊ฐ๋ค. ํ์ง๋ง, ์ด ๊ธ์์๋ Wezterm์ ์๊ฐํ๊ธฐ๋ก ํ๊ธฐ ๋๋ฌธ์, Wezterm ์ค์ฌ์ผ๋ก ์๊ฐํ๋๋ก ํ๊ฒ ๋ค.
Wezterm์ ๋ค์๊ณผ ๊ฐ์ ํน์ง์ ๊ฐ์ง๋ค.
Wezterm์ ์ค์นํ๋ค๋ฉด ์ค์น ์๋ด ํ์ด์ง๋ฅผ ์ฐธ๊ณ ํด์ ์ค์นํ๋ฉด ๋๋๋ฐ, ์ฌ๋ฌ๋ถ์ด Wezterm์ ์ค์นํ๋ค๋ฉด ๋น์ฅ์ ๊ฒ์ ํ๋ฉด๋ง ๋ฐ์ง๋ ๋ชจ๋ฅธ๋ค.
Wezterm์ ์ค์นํ๊ณ ๋์, .config/wezterm/wezterm.lua
ํ์ผ์ ์์ ํด์ผ ํ๋๋ฐ, ๋น์ฅ์ ์๋์ฒ๋ผ ๋น์ด์์ ๊ฒ์ด๋ค. ํ์ผ์ด ์๋ค๋ฉด ๋ง๋ค์ด๋๋ ๊ฒ์ด ์ข๋ค.
return {}
์์ ์ฝ๋์์ {}
๋ lua์์๋ ํ
์ด๋ธ(๋ค๋ฅธ ์ธ์ด๋ก ์น๋ฉด, ๋์
๋๋ฆฌ/์ค๋ธ์ ํธ ๊ฐ์ ๊ฒ)์ด์ง๋ง, wezterm ํฐ๋ฏธ๋์ configuration์ ๋ํ๋ด๋ ํ
์ด๋ธ์ด๋ค. ์ฌ๊ธฐ์ ๋ช๊ฐ์ง ์ถ๊ฐ์ฌํญ์ ๋ฃ์ด๋ณด๊ฒ ๋ค.
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ๋๋ฐ, ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ์ผ๋ฉด ๊ฐ์ฅ ์ฒ์๋ถํฐ ํ๋๊ฒ ๋ฌด์์ด๊ฒ ๋๊ฐ? ๋ฐ๋ก, ํฐํธ๋ฅผ ์ธํ ํ๋ ๊ฒ์ด๋ค. ํฐ๋ฏธ๋ ํ๊ฒฝ์์ ์์ ํ ๋ ํฐํธ๋งํผ ์ค์ํ๊ฒ ๋ ์๋ค.
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({'Cascadia Code NF', 'NanumBarunGothic'}),
font_size = 12.0,
line_height = 1.2,
}
ํฐํธ๋ฅผ ๊ฐ์ ธ๋ค ์ธ๋๋ ์์ ์์์ ๊ฐ์ด font_with_fallback
ํจ์๋ฅผ ์ด์ฉํด์ ๊ฐ์ ธ๋ค ์ธ ์ ์๊ณ , ๊ทธ ์ธ์๋ ํฐํธ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๊ฑฐ๋ ํ๊ฐ์ ์ง์ ํ ์๋ ์๋ค. ๊ณต์ํ์ด์ง์์ ๋ณด์๋ฏ์ด, ์ฌ๋ฌ๋ถ์ ์ทจํฅ์ ๋ฐ๋ผ ๋ฐฐ๊ฒฝ์ ํน์ ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง๋ ์ง์ ํ ์ ์๋๋ฐ ์ฌ๋ฌ๋ถ ๋๋ฆ๋๋ก์ ๊ธฐ์ค์ด ์๊ณ ์์ฌ์ด ๋๋ค๋ฉด ํ๋ฒ ๋์ ํด๋ณด๋ ๊ฒ๋ ๋์์ง ์์ ๊ฒ ๊ฐ๋ค.
์์ ์ฝ๋๋ฅผ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ณ ํธ์งํ๋ค๋ณด๋ฉด ๋๋ ์ ์๊ฒ ์ง๋ง, wezterm์ ์ค์ ํ์ผ์ ํธ์งํ ๋ Hot Reloading์ ์ง์ํ๋ค. ์ด ๋ํ, ๋ด๊ฐ ๊ฐ์ฅ ์ ์ ํ๋ ๊ธฐ๋ฅ ์ค ํ๋์ด๋ค. ํน์ฌ๋ wezterm ์ค์ ํ์ผ์ ์์ ํ์๋, ๋ฌธ๋ฒ์ ์ค๋ฅ๊ฐ ์๊ฑฐ๋ ์ค์ ๊ฐ์ ์๋ชป ์ง์ ํ์ ๋, ์ ์ฐฝ์ผ๋ก ์ด๋ค ๋ถ๋ถ์ ์ค๋ฅ๊ฐ ์๋์ง ์น์ ํ๊ฒ Alert๋ ๋์์ค๋ค.
API ๋ ํผ๋ฐ์ค๋ฅผ ๋ณด๊ธฐ๋ง ํด๋ ์คํฌ๋ฆฝํ ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ด์ผ ๋น์ฐํ ๋ง๊ธด ํ๊ฒ ์ง๋ง, ์ฒ์ ์ ํ๋ ์ ์ฅ์์๋ ์ด๋ป๊ฒ ์ปค์คํฐ๋ง์ด์งํ ์ง ํ์ ํ๊ธฐ ๋ํดํ ์ ์๋ค.
์๋์์๋ ๋ด๊ฐ ์ด๋ป๊ฒ Wezterm์ ์ปค์คํฐ๋ง์ด์ง์ ํ๊ณ ์๋์ง ์์๋ฅผ ๋์ดํ๋ ๊ฒ์ผ๋ก ๊ธ์ ๋๋ด๊ฒ ๋ค. Wezterm, ๋ฏฟ๊ณ ์จ๋ณด์๋ผ.
Wezterm์์ ํฐ๋ฏธ๋ ์์์ ์ค์ ํ ๋, ๋ฐฐ๊ฒฝ์์์ ๋ฐํฌ๋ช ๋๋ฅผ ์ง์ ํ ์ ์๋ ์ต์ ์ด ์๋ค. ๋๋ ์ฌ๊ธฐ์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์ ํ๊ณ ์ถ์๋ค.
๋ฐํฌ๋ช ๋๋ฅผ ์์๋ก ๋ ์๋ ์์ง๋ง, ๋ชจ๋ํฐ ํ๋ ์ง๋ฆฌ์ ํ๊ฒฝ์์ ์์ ํ๋ค๋ฉด ๋ธ๋ผ์ฐ์ ๋ฅผ ๋ค์ชฝ์ ๋๊ณ ํฐ๋ฏธ๋ ์ฑ์ ์์ ๋๋ ์์ผ๋ก ์์ ์ ๋ง์ด ํ๊ฒ ๋๋ค. HMR(Hot Module Reloading)์ด ๋๋ ๊ฐ๋ฐํ๊ฒฝ์ด๋ผ๋ฉด, ์์ค์ฝ๋๋ฅผ ํธ์งํ๊ณ ํ๋ฉด์ ์ฆ๊ฐ์ ์ผ๋ก ๋ฐ์์ด ๋๋๊ฑธ ๊ธฐ๋ํ ํ ๋ฐ ์ด๊ฑธ ํญ ์ค์์นญํ๋ฉด์ ํ์ธํ๊ธฐ๋ ๊ต์ฅํ ๋ฒ๊ฑฐ๋กญ๋ค. ์จ์ ํ ์์ ์ ์ ์งํ๋ค๊ฐ ์ ๊น ํ์ธํ๊ณ ์ถ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋ณ๊ฒฝํ๋ฉด ๋๋๋ฐ๋ ๋ง์ด๋ค.
Wezterm์์๋ ์ด๋ฒคํธ๋ฅผ ๋ฐ์ ํ ์ ์๊ณ , ๋ค๋ฅธ ํ๋ก์ธ์ค์์ ํน์ ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋ ์ด๋ค ๋์์ ํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ ์ ์๋ค. Wezterm ํฐ๋ฏธ๋ ์ต์ ์ ์์ ํ๋๊ฒ๋ ์ฌ๊ธฐ์ ํฌํจ๋ ์ ์๋ค. ํน์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ๋ฉด, ์ด๋ค ์ด๋ฒคํธ๋ฅผ ๋ฐ์์ํฌ ์ ์๊ณ , ๊ทธ ์ด๋ฒคํธ๋ก ์ธํด์ ํ๋ฉด์ ๋ฐํฌ๋ช ๋๋ฅผ ์กฐ์ ํ ์ ์๊ฒ ํ๋ค.
local default_opacity = 0.9
local keymaps = {}
-- SHIFT + CTRL + Z ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ๊ฐ์์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = "Z",
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'decrease-opacity',
}
)
-- SHIFT + CTRL + X ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = 'X',
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'increase-opacity',
}
)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('increase-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity + 0.1
if opacity > 1.0 then
opacity = 1.0
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('decrease-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity - 0.1
if opacity < 0.3 then
opacity = 0.3
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
return {
keys = keymaps
}
๋๋ถ๋ถ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์์ ํญ ์ด๋ฆ์ ํ์ํ ๋, ํ์ฌ ํญ์์ ๋๊ณ ์๋ ํ๋ก์ธ์ค์ ์ด๋ฆ์ ๋ช ์ํ ๋๊ฐ ๋ง๋ค. ๊ทธ๋ฐ๋ฐ, ํญ์ ๋ช ์๋์ด ์๋ ํ์ดํ๋ง ๊ฐ์ง๊ณ ๋ ๊ฐ๊ฐ์ ํญ์ด ์ด๋ค ์ญํ ์ ํ๋ ๊ฒ์ธ์ง ํ์ ํ๊ธฐ ์ด๋ ต๋ค. ์ด๋ ์ชฝ์ด ์๋ฒ๋ฅผ ๋์ฐ๊ณ ์๋๊ฑด์ง, ์ด๋ ์ชฝ์ด ์๋ํฐ ํธ์ง ํ๋ฉด์ธ์ง, ์ด๋ ์ชฝ์ด LLM Agent๋ฅผ ๋๋ฆฌ๊ณ ์๋์ง ๋ํดํ๋ค.
ํ์ง๋ง, ์๋์ฒ๋ผ wezterm.action.PromptInputLine
API๋ฅผ ์ฌ์ฉํด์ ํ๋กฌํํธ ์
๋ ฅ์ ๋ฐ์ ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก, ํ์ฌ ํ์ฑํ๋ ํญ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ์์ผ๋ก ์ธ์ง๋ถํ๋ฅผ ์ค์ผ ์ ์๋ค.
local wezterm = require('wezterm')
local keymaps = {}
table.insert(
keymaps,
{
key = '`',
mods = 'CTRL',
action = wezterm.action.PromptInputLine {
description = "Enter new name for tab",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end)
}
}
)
return {
keys = keymaps
}
Aider๋ Claude Code ๊ฐ์ LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํ ํ ์์ ์์ ์ด ๋๋ฌ๊ฑฐ๋, ํน์ ์์ ์ ๋ํ ์น์ธ์ ์๊ตฌํ ๋๊ฐ ๊ฐํน ์๋ค. LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํํ๋๊ฑธ ๊ฐ๋งํ ๋ณด๊ณ ๋ง ์์ ์ ์์ ๊ฒ์ด๋ค.
Claude Code/Aider๋ ๋คํํ๋ ์๋ต์ ํ๊ณ ๋์ ์ถ๊ฐ์ ์ธ ๋ช
๋ น์ ์คํํ ์ ์๋ ์ต์
[2]์ ์ ๊ณตํด์ฃผ๋๋ฐ, ๊ฑฐ๊ธฐ์ ๊ฐ๋จํ๊ฒ echo -ne '\007'
๋ช
๋ น์ด๋ฅผ ๋๊ฒจ์ค ์ ์๋ค. ์ด ๋ช
๋ น์ด๋ ์์ฒญ ์ด๋ ต์ง๋ ์๋ค. ํฐ๋ฏธ๋ ์ฑ์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ฌ์ํ๋ ๋ช
๋ น์ด๋ค.
์์ ํ๊ฒฝ์ด ์ด๋๋์ ๋ฐ๋ผ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง, ์์ ์๋ฃ ์ฌ๋ถ๋ฅผ ์์ฑ์ผ๋ก ๋ฐ๊ธฐ์๋ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฝ์ด ์์ ์ ์๋ค. ์์ ์๋ฆผ ์ผํฐ๋ฅผ ์ด์ฉํ๋ค๊ณ ์น์. ์ ๋ฌด ์๊ฐ๋์ ๋ฐฉํด๊ธ์ง ๋ชจ๋๋ฅผ ์ค์ ํ๋ค๋ฉด ์๋ฆผ์ด ์ธ๋ฆฌ๊ฒ ์ค์ ์ด ํ๋๋ผ๋ ์์คํ ์ ์ฝ์ ๋ฌปํ ๊ฐ๋ฅ์ฑ๋ ์๋ค.[3]
visual_bell
์ต์
์ ํ์ฉํ๋ฉด, ํฐ๋ฏธ๋์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ธ๋ฆฌ๋ ๋์ ํ๋ฉด์ด ๋ฐ์ง์ด๊ฒ ํด์ ๋ค๋ฅธ ์์ด์ ํธ๊ฐ ์๋ต์ ์๋ฃํ๋ค๊ณ ๋ช
์์ ์ผ๋ก ์๋ฆผ์ ๋ฐ์ ์ ์๋ค. LLM ์์ด์ ํธ๊ฐ ํ๋ ์ผ์ ์ผ์ผ์ด ๋ชจ๋ํฐ๋งํ์ง ์๋๋ผ๋, ๋ค๋ฅธ ์์
์ ์ํํ๋ ์ค์ ํ๋ฉด์ด ๋ฐ์ง์ด๋ฉด ๊ทธ๋ ํ์ธํ๊ธฐ๋ง ํ๋ฉด ๊ทธ๋ง์ด๋ค.
return {
colors = {
visual_bell = '#003355',
},
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = 'BackgroundColor', -- ๋๋ 'CursorColor'
}
}
Hashicorp ๊ณต๋์ฐฝ์ ์์ธ Mitchell Hashimoto๊ฐ ๋ง๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ธ๋ฐ, OpenAI์์ Codex ์์ฐํ ๋ Ghostty ํฐ๋ฏธ๋๋ก ์์ฐํ ๋ฐ๊ฐ ์๋ค. โฉ๏ธ
Aider๋ notifications-command, Claude Code๋ Hook์ด ์๋ค โฉ๏ธ
์ด๋ค ์ฌ๋์ ํด๋์ ํ๋ฅผ ์ง๋๋ชจ๋๋ก ํด๋๊ณ , ํ ๋ ๊ทธ๋จ/๋์ค์ฝ๋๋ก ์๋ฆผ์ด์ ์๋ฆผ์ ์์ ๋ฐ๋ ๋ฐฉ์์ ์ฐ๊ณ ์๋ ๊ฒ์ ๊ด์ฐฐํ ๋ฐ๋ ์๋ค. โฉ๏ธ
@kodingwarrior@hackers.pub
์ด ๊ธ(๊ทธ๋ฆฌ๊ณ ํ์์์ด ๋ ๊ธ๋ค)์, ๋ด ๊ฐ๋ฐํ๊ฒฝ์์ ์์ฃผ ์ฌ์ฉํ๊ณ ์๊ณ ์ค์ ๋ก๋ ์ ์ ํ๊ณ ์๋ ๋๊ตฌ์ ๋ํด์ ์๊ฐํ๊ฒ ๋ ๊ฒ ๊ฐ๋ค. ๋ด๊ฐ ์ด๋ค ํ๊ฒฝ์์ ๊ฐ๋ฐํ๊ณ ์๋์ง ๊ถ๊ธํ ๋ถ๋ค์ ๋ด dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํด๋ ์ข์ ๊ฒ ๊ฐ๋ค.
dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ง ๋ณด๋ฉด ๋ญ๊ฐ ๋๋จํด๋ณด์ผ ๊ฒ ๊ฐ์ง๋ง, dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ ๊ทธ๋ฅ ๋จ์ํ๋ค.
.zshrc
/.bashrc
๊ฐ์ ๊ฒ๋ค์ ๋ง์ฃผํ๊ฒ ๋ ๊ฒ์ด๋ค..gitconfig
๊ฐ์ ํ์ผ์ ์์ ํ๊ฒ ๋ ๋๊ฐ ์๋ค.
git config pull.rebase true
๊ฐ์ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง์ ์ ์๋ค. ํ์ง๋ง, ์ด๋ฐ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ฉด .gitconfig์๋ ๊ทธ๋๋ก ๊ธฐ๋ก์ด ๋๋ค.์์์ ์ธ๊ธํ ์์๋ฅผ ๋ณด๋ฉด ์ ์ ์๊ฒ ๋ฏ์ด, ์์ dot(.)์ด ๋ถ์ด์๋ ์ค์ ํ์ผ์ด๋ผ๋ฉด dotfiles๋ผ๊ณ ํ ์ ์๊ฒ ๋ค. dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ ๊ด๋ฆฌ๋ฅผ ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ? ๊ทธ๊ฒ์ ๋ฐ๋ก ์ด๋ค ํ๊ฒฝ์์๋ .zshrc/.gitignore ํ์ผ ๊ฐ์ ๊ฒ๋ค์ ๋์ผํ๊ฒ ์ฌ์ฉํ์ฌ ์์ ์ ํ๋ฆ์ ์จ์ ํ ์ ์งํ ์ ์๋ค๋ ์ฅ์ ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค. dotfiles๋ฅผ git๊ณผ ๊ฐ์ ๋ฒ์ ๊ด๋ฆฌ ๋๊ตฌ๋ก ๊ด๋ฆฌํ ์ ์๊ณ , github ๊ฐ์ ์ ์ฅ์์ ์ฌ๋ ค๋์ ์ ์๋ค๋ฉด.... ์ด๋ค ๊ฐ๋ฐํ๊ฒฝ์ผ๋ก ๊ฐ์ํ๋๋ผ๋ github์์ ๋ฐ๋ก ๋ด๋ ค๋ฐ๊ณ , ๊ฐ ์ค์ ํ์ผ๋ค์ ์ฎ๊ธฐ๋ฉด ๊ทธ๋ง์ด๊ธฐ ๋๋ฌธ์ ๊ฐ๋ฐํ๊ฒฝ ์ค์ ํ๋๋ฐ ๋๋ ์๊ฐ์ ๋น์ฉ์ ๊ต์ฅํ ์๋ ์ ์๋ค.
dotfiles๋ฅผ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ๋ค์ ์ฌ๋ฌ๊ฐ์ง ์๊ฒ ์ง๋ง(symbolic link๋ฅผ ์ด์ฉํ๋ค๋๊ฐ ๋ฑ๋ฑ), ๊ฐ์ธ์ ์ผ๋ก๋ chezmoi๋ฅผ ๊ถ์ฅํ๋ ๋ฐ์ด๋ค. chezmoi๋ dotfiles๋ค์ ๋ฒ์ ๊ด๋ฆฌํ ์ ์๊ฒ ํธ์์ฑ์ ์ ๊ณตํด์ฃผ๋ CLI ๋๊ตฌ์ด๋ค.
chezmoi init https://github.com/malkoG/dotfiles.git
๋ช
๋ น์ ์คํํด๋ณด๋ฉด ๋๋ค.Wezterm์ Konsole/iTerm2/Gnome Terminal/Alacritty๊ณผ ๊ฐ์ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ด๋ฉฐ, Rust ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ์ด ๋์ด ์๊ณ , GPU ๊ฐ์์ ์ง์ํ๋ค. ๋ฐ๋ผ์, ๋ ๋๋ง ์์ฒด๋ ์ด๋ ์ ๋๋ ๋น ๋ฅธ ํธ์ด๋ค.
์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ ํ๋ฒ ์จ๋ณด๋๋ก ๊ถ์ฅํ๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์ธ ๊ฐ์ง ์ ๋ ์๋๋ฐ, Alacritty/Kitty ๊ทธ๋ฆฌ๊ณ ์ด ๊ธ์์ ์๊ฐํ๋ Wezterm ์ ๋ ๋๋ค. ์์ฆ์ Zig ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด์ง Ghostty[1]๋ ์ถ์ฒํ ๋ง ํ ๊ฒ ๊ฐ๋ค. ํ์ง๋ง, ์ด ๊ธ์์๋ Wezterm์ ์๊ฐํ๊ธฐ๋ก ํ๊ธฐ ๋๋ฌธ์, Wezterm ์ค์ฌ์ผ๋ก ์๊ฐํ๋๋ก ํ๊ฒ ๋ค.
Wezterm์ ๋ค์๊ณผ ๊ฐ์ ํน์ง์ ๊ฐ์ง๋ค.
Wezterm์ ์ค์นํ๋ค๋ฉด ์ค์น ์๋ด ํ์ด์ง๋ฅผ ์ฐธ๊ณ ํด์ ์ค์นํ๋ฉด ๋๋๋ฐ, ์ฌ๋ฌ๋ถ์ด Wezterm์ ์ค์นํ๋ค๋ฉด ๋น์ฅ์ ๊ฒ์ ํ๋ฉด๋ง ๋ฐ์ง๋ ๋ชจ๋ฅธ๋ค.
Wezterm์ ์ค์นํ๊ณ ๋์, .config/wezterm/wezterm.lua
ํ์ผ์ ์์ ํด์ผ ํ๋๋ฐ, ๋น์ฅ์ ์๋์ฒ๋ผ ๋น์ด์์ ๊ฒ์ด๋ค. ํ์ผ์ด ์๋ค๋ฉด ๋ง๋ค์ด๋๋ ๊ฒ์ด ์ข๋ค.
return {}
์์ ์ฝ๋์์ {}
๋ lua์์๋ ํ
์ด๋ธ(๋ค๋ฅธ ์ธ์ด๋ก ์น๋ฉด, ๋์
๋๋ฆฌ/์ค๋ธ์ ํธ ๊ฐ์ ๊ฒ)์ด์ง๋ง, wezterm ํฐ๋ฏธ๋์ configuration์ ๋ํ๋ด๋ ํ
์ด๋ธ์ด๋ค. ์ฌ๊ธฐ์ ๋ช๊ฐ์ง ์ถ๊ฐ์ฌํญ์ ๋ฃ์ด๋ณด๊ฒ ๋ค.
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ๋๋ฐ, ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ์ผ๋ฉด ๊ฐ์ฅ ์ฒ์๋ถํฐ ํ๋๊ฒ ๋ฌด์์ด๊ฒ ๋๊ฐ? ๋ฐ๋ก, ํฐํธ๋ฅผ ์ธํ ํ๋ ๊ฒ์ด๋ค. ํฐ๋ฏธ๋ ํ๊ฒฝ์์ ์์ ํ ๋ ํฐํธ๋งํผ ์ค์ํ๊ฒ ๋ ์๋ค.
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({'Cascadia Code NF', 'NanumBarunGothic'}),
font_size = 12.0,
line_height = 1.2,
}
ํฐํธ๋ฅผ ๊ฐ์ ธ๋ค ์ธ๋๋ ์์ ์์์ ๊ฐ์ด font_with_fallback
ํจ์๋ฅผ ์ด์ฉํด์ ๊ฐ์ ธ๋ค ์ธ ์ ์๊ณ , ๊ทธ ์ธ์๋ ํฐํธ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๊ฑฐ๋ ํ๊ฐ์ ์ง์ ํ ์๋ ์๋ค. ๊ณต์ํ์ด์ง์์ ๋ณด์๋ฏ์ด, ์ฌ๋ฌ๋ถ์ ์ทจํฅ์ ๋ฐ๋ผ ๋ฐฐ๊ฒฝ์ ํน์ ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง๋ ์ง์ ํ ์ ์๋๋ฐ ์ฌ๋ฌ๋ถ ๋๋ฆ๋๋ก์ ๊ธฐ์ค์ด ์๊ณ ์์ฌ์ด ๋๋ค๋ฉด ํ๋ฒ ๋์ ํด๋ณด๋ ๊ฒ๋ ๋์์ง ์์ ๊ฒ ๊ฐ๋ค.
์์ ์ฝ๋๋ฅผ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ณ ํธ์งํ๋ค๋ณด๋ฉด ๋๋ ์ ์๊ฒ ์ง๋ง, wezterm์ ์ค์ ํ์ผ์ ํธ์งํ ๋ Hot Reloading์ ์ง์ํ๋ค. ์ด ๋ํ, ๋ด๊ฐ ๊ฐ์ฅ ์ ์ ํ๋ ๊ธฐ๋ฅ ์ค ํ๋์ด๋ค. ํน์ฌ๋ wezterm ์ค์ ํ์ผ์ ์์ ํ์๋, ๋ฌธ๋ฒ์ ์ค๋ฅ๊ฐ ์๊ฑฐ๋ ์ค์ ๊ฐ์ ์๋ชป ์ง์ ํ์ ๋, ์ ์ฐฝ์ผ๋ก ์ด๋ค ๋ถ๋ถ์ ์ค๋ฅ๊ฐ ์๋์ง ์น์ ํ๊ฒ Alert๋ ๋์์ค๋ค.
API ๋ ํผ๋ฐ์ค๋ฅผ ๋ณด๊ธฐ๋ง ํด๋ ์คํฌ๋ฆฝํ ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ด์ผ ๋น์ฐํ ๋ง๊ธด ํ๊ฒ ์ง๋ง, ์ฒ์ ์ ํ๋ ์ ์ฅ์์๋ ์ด๋ป๊ฒ ์ปค์คํฐ๋ง์ด์งํ ์ง ํ์ ํ๊ธฐ ๋ํดํ ์ ์๋ค.
์๋์์๋ ๋ด๊ฐ ์ด๋ป๊ฒ Wezterm์ ์ปค์คํฐ๋ง์ด์ง์ ํ๊ณ ์๋์ง ์์๋ฅผ ๋์ดํ๋ ๊ฒ์ผ๋ก ๊ธ์ ๋๋ด๊ฒ ๋ค. Wezterm, ๋ฏฟ๊ณ ์จ๋ณด์๋ผ.
Wezterm์์ ํฐ๋ฏธ๋ ์์์ ์ค์ ํ ๋, ๋ฐฐ๊ฒฝ์์์ ๋ฐํฌ๋ช ๋๋ฅผ ์ง์ ํ ์ ์๋ ์ต์ ์ด ์๋ค. ๋๋ ์ฌ๊ธฐ์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์ ํ๊ณ ์ถ์๋ค.
๋ฐํฌ๋ช ๋๋ฅผ ์์๋ก ๋ ์๋ ์์ง๋ง, ๋ชจ๋ํฐ ํ๋ ์ง๋ฆฌ์ ํ๊ฒฝ์์ ์์ ํ๋ค๋ฉด ๋ธ๋ผ์ฐ์ ๋ฅผ ๋ค์ชฝ์ ๋๊ณ ํฐ๋ฏธ๋ ์ฑ์ ์์ ๋๋ ์์ผ๋ก ์์ ์ ๋ง์ด ํ๊ฒ ๋๋ค. HMR(Hot Module Reloading)์ด ๋๋ ๊ฐ๋ฐํ๊ฒฝ์ด๋ผ๋ฉด, ์์ค์ฝ๋๋ฅผ ํธ์งํ๊ณ ํ๋ฉด์ ์ฆ๊ฐ์ ์ผ๋ก ๋ฐ์์ด ๋๋๊ฑธ ๊ธฐ๋ํ ํ ๋ฐ ์ด๊ฑธ ํญ ์ค์์นญํ๋ฉด์ ํ์ธํ๊ธฐ๋ ๊ต์ฅํ ๋ฒ๊ฑฐ๋กญ๋ค. ์จ์ ํ ์์ ์ ์ ์งํ๋ค๊ฐ ์ ๊น ํ์ธํ๊ณ ์ถ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋ณ๊ฒฝํ๋ฉด ๋๋๋ฐ๋ ๋ง์ด๋ค.
Wezterm์์๋ ์ด๋ฒคํธ๋ฅผ ๋ฐ์ ํ ์ ์๊ณ , ๋ค๋ฅธ ํ๋ก์ธ์ค์์ ํน์ ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋ ์ด๋ค ๋์์ ํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ ์ ์๋ค. Wezterm ํฐ๋ฏธ๋ ์ต์ ์ ์์ ํ๋๊ฒ๋ ์ฌ๊ธฐ์ ํฌํจ๋ ์ ์๋ค. ํน์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ๋ฉด, ์ด๋ค ์ด๋ฒคํธ๋ฅผ ๋ฐ์์ํฌ ์ ์๊ณ , ๊ทธ ์ด๋ฒคํธ๋ก ์ธํด์ ํ๋ฉด์ ๋ฐํฌ๋ช ๋๋ฅผ ์กฐ์ ํ ์ ์๊ฒ ํ๋ค.
local default_opacity = 0.9
local keymaps = {}
-- SHIFT + CTRL + Z ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ๊ฐ์์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = "Z",
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'decrease-opacity',
}
)
-- SHIFT + CTRL + X ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = 'X',
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'increase-opacity',
}
)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('increase-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity + 0.1
if opacity > 1.0 then
opacity = 1.0
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('decrease-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity - 0.1
if opacity < 0.3 then
opacity = 0.3
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
return {
keys = keymaps
}
๋๋ถ๋ถ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์์ ํญ ์ด๋ฆ์ ํ์ํ ๋, ํ์ฌ ํญ์์ ๋๊ณ ์๋ ํ๋ก์ธ์ค์ ์ด๋ฆ์ ๋ช ์ํ ๋๊ฐ ๋ง๋ค. ๊ทธ๋ฐ๋ฐ, ํญ์ ๋ช ์๋์ด ์๋ ํ์ดํ๋ง ๊ฐ์ง๊ณ ๋ ๊ฐ๊ฐ์ ํญ์ด ์ด๋ค ์ญํ ์ ํ๋ ๊ฒ์ธ์ง ํ์ ํ๊ธฐ ์ด๋ ต๋ค. ์ด๋ ์ชฝ์ด ์๋ฒ๋ฅผ ๋์ฐ๊ณ ์๋๊ฑด์ง, ์ด๋ ์ชฝ์ด ์๋ํฐ ํธ์ง ํ๋ฉด์ธ์ง, ์ด๋ ์ชฝ์ด LLM Agent๋ฅผ ๋๋ฆฌ๊ณ ์๋์ง ๋ํดํ๋ค.
ํ์ง๋ง, ์๋์ฒ๋ผ wezterm.action.PromptInputLine
API๋ฅผ ์ฌ์ฉํด์ ํ๋กฌํํธ ์
๋ ฅ์ ๋ฐ์ ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก, ํ์ฌ ํ์ฑํ๋ ํญ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ์์ผ๋ก ์ธ์ง๋ถํ๋ฅผ ์ค์ผ ์ ์๋ค.
local wezterm = require('wezterm')
local keymaps = {}
table.insert(
keymaps,
{
key = '`',
mods = 'CTRL',
action = wezterm.action.PromptInputLine {
description = "Enter new name for tab",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end)
}
}
)
return {
keys = keymaps
}
Aider๋ Claude Code ๊ฐ์ LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํ ํ ์์ ์์ ์ด ๋๋ฌ๊ฑฐ๋, ํน์ ์์ ์ ๋ํ ์น์ธ์ ์๊ตฌํ ๋๊ฐ ๊ฐํน ์๋ค. LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํํ๋๊ฑธ ๊ฐ๋งํ ๋ณด๊ณ ๋ง ์์ ์ ์์ ๊ฒ์ด๋ค.
Claude Code/Aider๋ ๋คํํ๋ ์๋ต์ ํ๊ณ ๋์ ์ถ๊ฐ์ ์ธ ๋ช
๋ น์ ์คํํ ์ ์๋ ์ต์
[2]์ ์ ๊ณตํด์ฃผ๋๋ฐ, ๊ฑฐ๊ธฐ์ ๊ฐ๋จํ๊ฒ echo -ne '\007'
๋ช
๋ น์ด๋ฅผ ๋๊ฒจ์ค ์ ์๋ค. ์ด ๋ช
๋ น์ด๋ ์์ฒญ ์ด๋ ต์ง๋ ์๋ค. ํฐ๋ฏธ๋ ์ฑ์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ฌ์ํ๋ ๋ช
๋ น์ด๋ค.
์์ ํ๊ฒฝ์ด ์ด๋๋์ ๋ฐ๋ผ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง, ์์ ์๋ฃ ์ฌ๋ถ๋ฅผ ์์ฑ์ผ๋ก ๋ฐ๊ธฐ์๋ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฝ์ด ์์ ์ ์๋ค. ์์ ์๋ฆผ ์ผํฐ๋ฅผ ์ด์ฉํ๋ค๊ณ ์น์. ์ ๋ฌด ์๊ฐ๋์ ๋ฐฉํด๊ธ์ง ๋ชจ๋๋ฅผ ์ค์ ํ๋ค๋ฉด ์๋ฆผ์ด ์ธ๋ฆฌ๊ฒ ์ค์ ์ด ํ๋๋ผ๋ ์์คํ ์ ์ฝ์ ๋ฌปํ ๊ฐ๋ฅ์ฑ๋ ์๋ค.[3]
visual_bell
์ต์
์ ํ์ฉํ๋ฉด, ํฐ๋ฏธ๋์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ธ๋ฆฌ๋ ๋์ ํ๋ฉด์ด ๋ฐ์ง์ด๊ฒ ํด์ ๋ค๋ฅธ ์์ด์ ํธ๊ฐ ์๋ต์ ์๋ฃํ๋ค๊ณ ๋ช
์์ ์ผ๋ก ์๋ฆผ์ ๋ฐ์ ์ ์๋ค. LLM ์์ด์ ํธ๊ฐ ํ๋ ์ผ์ ์ผ์ผ์ด ๋ชจ๋ํฐ๋งํ์ง ์๋๋ผ๋, ๋ค๋ฅธ ์์
์ ์ํํ๋ ์ค์ ํ๋ฉด์ด ๋ฐ์ง์ด๋ฉด ๊ทธ๋ ํ์ธํ๊ธฐ๋ง ํ๋ฉด ๊ทธ๋ง์ด๋ค.
return {
colors = {
visual_bell = '#003355',
},
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = 'BackgroundColor', -- ๋๋ 'CursorColor'
}
}
Hashicorp ๊ณต๋์ฐฝ์ ์์ธ Mitchell Hashimoto๊ฐ ๋ง๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ธ๋ฐ, OpenAI์์ Codex ์์ฐํ ๋ Ghostty ํฐ๋ฏธ๋๋ก ์์ฐํ ๋ฐ๊ฐ ์๋ค. โฉ๏ธ
Aider๋ notifications-command, Claude Code๋ Hook์ด ์๋ค โฉ๏ธ
์ด๋ค ์ฌ๋์ ํด๋์ ํ๋ฅผ ์ง๋๋ชจ๋๋ก ํด๋๊ณ , ํ ๋ ๊ทธ๋จ/๋์ค์ฝ๋๋ก ์๋ฆผ์ด์ ์๋ฆผ์ ์์ ๋ฐ๋ ๋ฐฉ์์ ์ฐ๊ณ ์๋ ๊ฒ์ ๊ด์ฐฐํ ๋ฐ๋ ์๋ค. โฉ๏ธ
@kodingwarrior@hackers.pub
์ด ๊ธ(๊ทธ๋ฆฌ๊ณ ํ์์์ด ๋ ๊ธ๋ค)์, ๋ด ๊ฐ๋ฐํ๊ฒฝ์์ ์์ฃผ ์ฌ์ฉํ๊ณ ์๊ณ ์ค์ ๋ก๋ ์ ์ ํ๊ณ ์๋ ๋๊ตฌ์ ๋ํด์ ์๊ฐํ๊ฒ ๋ ๊ฒ ๊ฐ๋ค. ๋ด๊ฐ ์ด๋ค ํ๊ฒฝ์์ ๊ฐ๋ฐํ๊ณ ์๋์ง ๊ถ๊ธํ ๋ถ๋ค์ ๋ด dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํด๋ ์ข์ ๊ฒ ๊ฐ๋ค.
dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ง ๋ณด๋ฉด ๋ญ๊ฐ ๋๋จํด๋ณด์ผ ๊ฒ ๊ฐ์ง๋ง, dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ ๊ทธ๋ฅ ๋จ์ํ๋ค.
.zshrc
/.bashrc
๊ฐ์ ๊ฒ๋ค์ ๋ง์ฃผํ๊ฒ ๋ ๊ฒ์ด๋ค..gitconfig
๊ฐ์ ํ์ผ์ ์์ ํ๊ฒ ๋ ๋๊ฐ ์๋ค.
git config pull.rebase true
๊ฐ์ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง์ ์ ์๋ค. ํ์ง๋ง, ์ด๋ฐ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ฉด .gitconfig์๋ ๊ทธ๋๋ก ๊ธฐ๋ก์ด ๋๋ค.์์์ ์ธ๊ธํ ์์๋ฅผ ๋ณด๋ฉด ์ ์ ์๊ฒ ๋ฏ์ด, ์์ dot(.)์ด ๋ถ์ด์๋ ์ค์ ํ์ผ์ด๋ผ๋ฉด dotfiles๋ผ๊ณ ํ ์ ์๊ฒ ๋ค. dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ ๊ด๋ฆฌ๋ฅผ ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ? ๊ทธ๊ฒ์ ๋ฐ๋ก ์ด๋ค ํ๊ฒฝ์์๋ .zshrc/.gitignore ํ์ผ ๊ฐ์ ๊ฒ๋ค์ ๋์ผํ๊ฒ ์ฌ์ฉํ์ฌ ์์ ์ ํ๋ฆ์ ์จ์ ํ ์ ์งํ ์ ์๋ค๋ ์ฅ์ ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค. dotfiles๋ฅผ git๊ณผ ๊ฐ์ ๋ฒ์ ๊ด๋ฆฌ ๋๊ตฌ๋ก ๊ด๋ฆฌํ ์ ์๊ณ , github ๊ฐ์ ์ ์ฅ์์ ์ฌ๋ ค๋์ ์ ์๋ค๋ฉด.... ์ด๋ค ๊ฐ๋ฐํ๊ฒฝ์ผ๋ก ๊ฐ์ํ๋๋ผ๋ github์์ ๋ฐ๋ก ๋ด๋ ค๋ฐ๊ณ , ๊ฐ ์ค์ ํ์ผ๋ค์ ์ฎ๊ธฐ๋ฉด ๊ทธ๋ง์ด๊ธฐ ๋๋ฌธ์ ๊ฐ๋ฐํ๊ฒฝ ์ค์ ํ๋๋ฐ ๋๋ ์๊ฐ์ ๋น์ฉ์ ๊ต์ฅํ ์๋ ์ ์๋ค.
dotfiles๋ฅผ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ๋ค์ ์ฌ๋ฌ๊ฐ์ง ์๊ฒ ์ง๋ง(symbolic link๋ฅผ ์ด์ฉํ๋ค๋๊ฐ ๋ฑ๋ฑ), ๊ฐ์ธ์ ์ผ๋ก๋ chezmoi๋ฅผ ๊ถ์ฅํ๋ ๋ฐ์ด๋ค. chezmoi๋ dotfiles๋ค์ ๋ฒ์ ๊ด๋ฆฌํ ์ ์๊ฒ ํธ์์ฑ์ ์ ๊ณตํด์ฃผ๋ CLI ๋๊ตฌ์ด๋ค.
chezmoi init https://github.com/malkoG/dotfiles.git
๋ช
๋ น์ ์คํํด๋ณด๋ฉด ๋๋ค.Wezterm์ Konsole/iTerm2/Gnome Terminal/Alacritty๊ณผ ๊ฐ์ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ด๋ฉฐ, Rust ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ์ด ๋์ด ์๊ณ , GPU ๊ฐ์์ ์ง์ํ๋ค. ๋ฐ๋ผ์, ๋ ๋๋ง ์์ฒด๋ ์ด๋ ์ ๋๋ ๋น ๋ฅธ ํธ์ด๋ค.
์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ ํ๋ฒ ์จ๋ณด๋๋ก ๊ถ์ฅํ๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์ธ ๊ฐ์ง ์ ๋ ์๋๋ฐ, Alacritty/Kitty ๊ทธ๋ฆฌ๊ณ ์ด ๊ธ์์ ์๊ฐํ๋ Wezterm ์ ๋ ๋๋ค. ์์ฆ์ Zig ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด์ง Ghostty[1]๋ ์ถ์ฒํ ๋ง ํ ๊ฒ ๊ฐ๋ค. ํ์ง๋ง, ์ด ๊ธ์์๋ Wezterm์ ์๊ฐํ๊ธฐ๋ก ํ๊ธฐ ๋๋ฌธ์, Wezterm ์ค์ฌ์ผ๋ก ์๊ฐํ๋๋ก ํ๊ฒ ๋ค.
Wezterm์ ๋ค์๊ณผ ๊ฐ์ ํน์ง์ ๊ฐ์ง๋ค.
Wezterm์ ์ค์นํ๋ค๋ฉด ์ค์น ์๋ด ํ์ด์ง๋ฅผ ์ฐธ๊ณ ํด์ ์ค์นํ๋ฉด ๋๋๋ฐ, ์ฌ๋ฌ๋ถ์ด Wezterm์ ์ค์นํ๋ค๋ฉด ๋น์ฅ์ ๊ฒ์ ํ๋ฉด๋ง ๋ฐ์ง๋ ๋ชจ๋ฅธ๋ค.
Wezterm์ ์ค์นํ๊ณ ๋์, .config/wezterm/wezterm.lua
ํ์ผ์ ์์ ํด์ผ ํ๋๋ฐ, ๋น์ฅ์ ์๋์ฒ๋ผ ๋น์ด์์ ๊ฒ์ด๋ค. ํ์ผ์ด ์๋ค๋ฉด ๋ง๋ค์ด๋๋ ๊ฒ์ด ์ข๋ค.
return {}
์์ ์ฝ๋์์ {}
๋ lua์์๋ ํ
์ด๋ธ(๋ค๋ฅธ ์ธ์ด๋ก ์น๋ฉด, ๋์
๋๋ฆฌ/์ค๋ธ์ ํธ ๊ฐ์ ๊ฒ)์ด์ง๋ง, wezterm ํฐ๋ฏธ๋์ configuration์ ๋ํ๋ด๋ ํ
์ด๋ธ์ด๋ค. ์ฌ๊ธฐ์ ๋ช๊ฐ์ง ์ถ๊ฐ์ฌํญ์ ๋ฃ์ด๋ณด๊ฒ ๋ค.
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ๋๋ฐ, ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ์ผ๋ฉด ๊ฐ์ฅ ์ฒ์๋ถํฐ ํ๋๊ฒ ๋ฌด์์ด๊ฒ ๋๊ฐ? ๋ฐ๋ก, ํฐํธ๋ฅผ ์ธํ ํ๋ ๊ฒ์ด๋ค. ํฐ๋ฏธ๋ ํ๊ฒฝ์์ ์์ ํ ๋ ํฐํธ๋งํผ ์ค์ํ๊ฒ ๋ ์๋ค.
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({'Cascadia Code NF', 'NanumBarunGothic'}),
font_size = 12.0,
line_height = 1.2,
}
ํฐํธ๋ฅผ ๊ฐ์ ธ๋ค ์ธ๋๋ ์์ ์์์ ๊ฐ์ด font_with_fallback
ํจ์๋ฅผ ์ด์ฉํด์ ๊ฐ์ ธ๋ค ์ธ ์ ์๊ณ , ๊ทธ ์ธ์๋ ํฐํธ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๊ฑฐ๋ ํ๊ฐ์ ์ง์ ํ ์๋ ์๋ค. ๊ณต์ํ์ด์ง์์ ๋ณด์๋ฏ์ด, ์ฌ๋ฌ๋ถ์ ์ทจํฅ์ ๋ฐ๋ผ ๋ฐฐ๊ฒฝ์ ํน์ ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง๋ ์ง์ ํ ์ ์๋๋ฐ ์ฌ๋ฌ๋ถ ๋๋ฆ๋๋ก์ ๊ธฐ์ค์ด ์๊ณ ์์ฌ์ด ๋๋ค๋ฉด ํ๋ฒ ๋์ ํด๋ณด๋ ๊ฒ๋ ๋์์ง ์์ ๊ฒ ๊ฐ๋ค.
์์ ์ฝ๋๋ฅผ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ณ ํธ์งํ๋ค๋ณด๋ฉด ๋๋ ์ ์๊ฒ ์ง๋ง, wezterm์ ์ค์ ํ์ผ์ ํธ์งํ ๋ Hot Reloading์ ์ง์ํ๋ค. ์ด ๋ํ, ๋ด๊ฐ ๊ฐ์ฅ ์ ์ ํ๋ ๊ธฐ๋ฅ ์ค ํ๋์ด๋ค. ํน์ฌ๋ wezterm ์ค์ ํ์ผ์ ์์ ํ์๋, ๋ฌธ๋ฒ์ ์ค๋ฅ๊ฐ ์๊ฑฐ๋ ์ค์ ๊ฐ์ ์๋ชป ์ง์ ํ์ ๋, ์ ์ฐฝ์ผ๋ก ์ด๋ค ๋ถ๋ถ์ ์ค๋ฅ๊ฐ ์๋์ง ์น์ ํ๊ฒ Alert๋ ๋์์ค๋ค.
API ๋ ํผ๋ฐ์ค๋ฅผ ๋ณด๊ธฐ๋ง ํด๋ ์คํฌ๋ฆฝํ ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ด์ผ ๋น์ฐํ ๋ง๊ธด ํ๊ฒ ์ง๋ง, ์ฒ์ ์ ํ๋ ์ ์ฅ์์๋ ์ด๋ป๊ฒ ์ปค์คํฐ๋ง์ด์งํ ์ง ํ์ ํ๊ธฐ ๋ํดํ ์ ์๋ค.
์๋์์๋ ๋ด๊ฐ ์ด๋ป๊ฒ Wezterm์ ์ปค์คํฐ๋ง์ด์ง์ ํ๊ณ ์๋์ง ์์๋ฅผ ๋์ดํ๋ ๊ฒ์ผ๋ก ๊ธ์ ๋๋ด๊ฒ ๋ค. Wezterm, ๋ฏฟ๊ณ ์จ๋ณด์๋ผ.
Wezterm์์ ํฐ๋ฏธ๋ ์์์ ์ค์ ํ ๋, ๋ฐฐ๊ฒฝ์์์ ๋ฐํฌ๋ช ๋๋ฅผ ์ง์ ํ ์ ์๋ ์ต์ ์ด ์๋ค. ๋๋ ์ฌ๊ธฐ์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์ ํ๊ณ ์ถ์๋ค.
๋ฐํฌ๋ช ๋๋ฅผ ์์๋ก ๋ ์๋ ์์ง๋ง, ๋ชจ๋ํฐ ํ๋ ์ง๋ฆฌ์ ํ๊ฒฝ์์ ์์ ํ๋ค๋ฉด ๋ธ๋ผ์ฐ์ ๋ฅผ ๋ค์ชฝ์ ๋๊ณ ํฐ๋ฏธ๋ ์ฑ์ ์์ ๋๋ ์์ผ๋ก ์์ ์ ๋ง์ด ํ๊ฒ ๋๋ค. HMR(Hot Module Reloading)์ด ๋๋ ๊ฐ๋ฐํ๊ฒฝ์ด๋ผ๋ฉด, ์์ค์ฝ๋๋ฅผ ํธ์งํ๊ณ ํ๋ฉด์ ์ฆ๊ฐ์ ์ผ๋ก ๋ฐ์์ด ๋๋๊ฑธ ๊ธฐ๋ํ ํ ๋ฐ ์ด๊ฑธ ํญ ์ค์์นญํ๋ฉด์ ํ์ธํ๊ธฐ๋ ๊ต์ฅํ ๋ฒ๊ฑฐ๋กญ๋ค. ์จ์ ํ ์์ ์ ์ ์งํ๋ค๊ฐ ์ ๊น ํ์ธํ๊ณ ์ถ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋ณ๊ฒฝํ๋ฉด ๋๋๋ฐ๋ ๋ง์ด๋ค.
Wezterm์์๋ ์ด๋ฒคํธ๋ฅผ ๋ฐ์ ํ ์ ์๊ณ , ๋ค๋ฅธ ํ๋ก์ธ์ค์์ ํน์ ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋ ์ด๋ค ๋์์ ํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ ์ ์๋ค. Wezterm ํฐ๋ฏธ๋ ์ต์ ์ ์์ ํ๋๊ฒ๋ ์ฌ๊ธฐ์ ํฌํจ๋ ์ ์๋ค. ํน์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ๋ฉด, ์ด๋ค ์ด๋ฒคํธ๋ฅผ ๋ฐ์์ํฌ ์ ์๊ณ , ๊ทธ ์ด๋ฒคํธ๋ก ์ธํด์ ํ๋ฉด์ ๋ฐํฌ๋ช ๋๋ฅผ ์กฐ์ ํ ์ ์๊ฒ ํ๋ค.
local default_opacity = 0.9
local keymaps = {}
-- SHIFT + CTRL + Z ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ๊ฐ์์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = "Z",
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'decrease-opacity',
}
)
-- SHIFT + CTRL + X ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = 'X',
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'increase-opacity',
}
)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('increase-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity + 0.1
if opacity > 1.0 then
opacity = 1.0
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('decrease-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity - 0.1
if opacity < 0.3 then
opacity = 0.3
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
return {
keys = keymaps
}
๋๋ถ๋ถ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์์ ํญ ์ด๋ฆ์ ํ์ํ ๋, ํ์ฌ ํญ์์ ๋๊ณ ์๋ ํ๋ก์ธ์ค์ ์ด๋ฆ์ ๋ช ์ํ ๋๊ฐ ๋ง๋ค. ๊ทธ๋ฐ๋ฐ, ํญ์ ๋ช ์๋์ด ์๋ ํ์ดํ๋ง ๊ฐ์ง๊ณ ๋ ๊ฐ๊ฐ์ ํญ์ด ์ด๋ค ์ญํ ์ ํ๋ ๊ฒ์ธ์ง ํ์ ํ๊ธฐ ์ด๋ ต๋ค. ์ด๋ ์ชฝ์ด ์๋ฒ๋ฅผ ๋์ฐ๊ณ ์๋๊ฑด์ง, ์ด๋ ์ชฝ์ด ์๋ํฐ ํธ์ง ํ๋ฉด์ธ์ง, ์ด๋ ์ชฝ์ด LLM Agent๋ฅผ ๋๋ฆฌ๊ณ ์๋์ง ๋ํดํ๋ค.
ํ์ง๋ง, ์๋์ฒ๋ผ wezterm.action.PromptInputLine
API๋ฅผ ์ฌ์ฉํด์ ํ๋กฌํํธ ์
๋ ฅ์ ๋ฐ์ ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก, ํ์ฌ ํ์ฑํ๋ ํญ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ์์ผ๋ก ์ธ์ง๋ถํ๋ฅผ ์ค์ผ ์ ์๋ค.
local wezterm = require('wezterm')
local keymaps = {}
table.insert(
keymaps,
{
key = '`',
mods = 'CTRL',
action = wezterm.action.PromptInputLine {
description = "Enter new name for tab",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end)
}
}
)
return {
keys = keymaps
}
Aider๋ Claude Code ๊ฐ์ LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํ ํ ์์ ์์ ์ด ๋๋ฌ๊ฑฐ๋, ํน์ ์์ ์ ๋ํ ์น์ธ์ ์๊ตฌํ ๋๊ฐ ๊ฐํน ์๋ค. LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํํ๋๊ฑธ ๊ฐ๋งํ ๋ณด๊ณ ๋ง ์์ ์ ์์ ๊ฒ์ด๋ค.
Claude Code/Aider๋ ๋คํํ๋ ์๋ต์ ํ๊ณ ๋์ ์ถ๊ฐ์ ์ธ ๋ช
๋ น์ ์คํํ ์ ์๋ ์ต์
[2]์ ์ ๊ณตํด์ฃผ๋๋ฐ, ๊ฑฐ๊ธฐ์ ๊ฐ๋จํ๊ฒ echo -ne '\007'
๋ช
๋ น์ด๋ฅผ ๋๊ฒจ์ค ์ ์๋ค. ์ด ๋ช
๋ น์ด๋ ์์ฒญ ์ด๋ ต์ง๋ ์๋ค. ํฐ๋ฏธ๋ ์ฑ์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ฌ์ํ๋ ๋ช
๋ น์ด๋ค.
์์ ํ๊ฒฝ์ด ์ด๋๋์ ๋ฐ๋ผ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง, ์์ ์๋ฃ ์ฌ๋ถ๋ฅผ ์์ฑ์ผ๋ก ๋ฐ๊ธฐ์๋ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฝ์ด ์์ ์ ์๋ค. ์์ ์๋ฆผ ์ผํฐ๋ฅผ ์ด์ฉํ๋ค๊ณ ์น์. ์ ๋ฌด ์๊ฐ๋์ ๋ฐฉํด๊ธ์ง ๋ชจ๋๋ฅผ ์ค์ ํ๋ค๋ฉด ์๋ฆผ์ด ์ธ๋ฆฌ๊ฒ ์ค์ ์ด ํ๋๋ผ๋ ์์คํ ์ ์ฝ์ ๋ฌปํ ๊ฐ๋ฅ์ฑ๋ ์๋ค.[3]
visual_bell
์ต์
์ ํ์ฉํ๋ฉด, ํฐ๋ฏธ๋์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ธ๋ฆฌ๋ ๋์ ํ๋ฉด์ด ๋ฐ์ง์ด๊ฒ ํด์ ๋ค๋ฅธ ์์ด์ ํธ๊ฐ ์๋ต์ ์๋ฃํ๋ค๊ณ ๋ช
์์ ์ผ๋ก ์๋ฆผ์ ๋ฐ์ ์ ์๋ค. LLM ์์ด์ ํธ๊ฐ ํ๋ ์ผ์ ์ผ์ผ์ด ๋ชจ๋ํฐ๋งํ์ง ์๋๋ผ๋, ๋ค๋ฅธ ์์
์ ์ํํ๋ ์ค์ ํ๋ฉด์ด ๋ฐ์ง์ด๋ฉด ๊ทธ๋ ํ์ธํ๊ธฐ๋ง ํ๋ฉด ๊ทธ๋ง์ด๋ค.
return {
colors = {
visual_bell = '#003355',
},
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = 'BackgroundColor', -- ๋๋ 'CursorColor'
}
}
Hashicorp ๊ณต๋์ฐฝ์ ์์ธ Mitchell Hashimoto๊ฐ ๋ง๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ธ๋ฐ, OpenAI์์ Codex ์์ฐํ ๋ Ghostty ํฐ๋ฏธ๋๋ก ์์ฐํ ๋ฐ๊ฐ ์๋ค. โฉ๏ธ
Aider๋ notifications-command, Claude Code๋ Hook์ด ์๋ค โฉ๏ธ
์ด๋ค ์ฌ๋์ ํด๋์ ํ๋ฅผ ์ง๋๋ชจ๋๋ก ํด๋๊ณ , ํ ๋ ๊ทธ๋จ/๋์ค์ฝ๋๋ก ์๋ฆผ์ด์ ์๋ฆผ์ ์์ ๋ฐ๋ ๋ฐฉ์์ ์ฐ๊ณ ์๋ ๊ฒ์ ๊ด์ฐฐํ ๋ฐ๋ ์๋ค. โฉ๏ธ
@kodingwarrior@hackers.pub
์ด ๊ธ(๊ทธ๋ฆฌ๊ณ ํ์์์ด ๋ ๊ธ๋ค)์, ๋ด ๊ฐ๋ฐํ๊ฒฝ์์ ์์ฃผ ์ฌ์ฉํ๊ณ ์๊ณ ์ค์ ๋ก๋ ์ ์ ํ๊ณ ์๋ ๋๊ตฌ์ ๋ํด์ ์๊ฐํ๊ฒ ๋ ๊ฒ ๊ฐ๋ค. ๋ด๊ฐ ์ด๋ค ํ๊ฒฝ์์ ๊ฐ๋ฐํ๊ณ ์๋์ง ๊ถ๊ธํ ๋ถ๋ค์ ๋ด dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํด๋ ์ข์ ๊ฒ ๊ฐ๋ค.
dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ง ๋ณด๋ฉด ๋ญ๊ฐ ๋๋จํด๋ณด์ผ ๊ฒ ๊ฐ์ง๋ง, dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ ๊ทธ๋ฅ ๋จ์ํ๋ค.
.zshrc
/.bashrc
๊ฐ์ ๊ฒ๋ค์ ๋ง์ฃผํ๊ฒ ๋ ๊ฒ์ด๋ค..gitconfig
๊ฐ์ ํ์ผ์ ์์ ํ๊ฒ ๋ ๋๊ฐ ์๋ค.
git config pull.rebase true
๊ฐ์ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง์ ์ ์๋ค. ํ์ง๋ง, ์ด๋ฐ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ฉด .gitconfig์๋ ๊ทธ๋๋ก ๊ธฐ๋ก์ด ๋๋ค.์์์ ์ธ๊ธํ ์์๋ฅผ ๋ณด๋ฉด ์ ์ ์๊ฒ ๋ฏ์ด, ์์ dot(.)์ด ๋ถ์ด์๋ ์ค์ ํ์ผ์ด๋ผ๋ฉด dotfiles๋ผ๊ณ ํ ์ ์๊ฒ ๋ค. dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ ๊ด๋ฆฌ๋ฅผ ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ? ๊ทธ๊ฒ์ ๋ฐ๋ก ์ด๋ค ํ๊ฒฝ์์๋ .zshrc/.gitignore ํ์ผ ๊ฐ์ ๊ฒ๋ค์ ๋์ผํ๊ฒ ์ฌ์ฉํ์ฌ ์์ ์ ํ๋ฆ์ ์จ์ ํ ์ ์งํ ์ ์๋ค๋ ์ฅ์ ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค. dotfiles๋ฅผ git๊ณผ ๊ฐ์ ๋ฒ์ ๊ด๋ฆฌ ๋๊ตฌ๋ก ๊ด๋ฆฌํ ์ ์๊ณ , github ๊ฐ์ ์ ์ฅ์์ ์ฌ๋ ค๋์ ์ ์๋ค๋ฉด.... ์ด๋ค ๊ฐ๋ฐํ๊ฒฝ์ผ๋ก ๊ฐ์ํ๋๋ผ๋ github์์ ๋ฐ๋ก ๋ด๋ ค๋ฐ๊ณ , ๊ฐ ์ค์ ํ์ผ๋ค์ ์ฎ๊ธฐ๋ฉด ๊ทธ๋ง์ด๊ธฐ ๋๋ฌธ์ ๊ฐ๋ฐํ๊ฒฝ ์ค์ ํ๋๋ฐ ๋๋ ์๊ฐ์ ๋น์ฉ์ ๊ต์ฅํ ์๋ ์ ์๋ค.
dotfiles๋ฅผ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ๋ค์ ์ฌ๋ฌ๊ฐ์ง ์๊ฒ ์ง๋ง(symbolic link๋ฅผ ์ด์ฉํ๋ค๋๊ฐ ๋ฑ๋ฑ), ๊ฐ์ธ์ ์ผ๋ก๋ chezmoi๋ฅผ ๊ถ์ฅํ๋ ๋ฐ์ด๋ค. chezmoi๋ dotfiles๋ค์ ๋ฒ์ ๊ด๋ฆฌํ ์ ์๊ฒ ํธ์์ฑ์ ์ ๊ณตํด์ฃผ๋ CLI ๋๊ตฌ์ด๋ค.
chezmoi init https://github.com/malkoG/dotfiles.git
๋ช
๋ น์ ์คํํด๋ณด๋ฉด ๋๋ค.Wezterm์ Konsole/iTerm2/Gnome Terminal/Alacritty๊ณผ ๊ฐ์ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ด๋ฉฐ, Rust ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ์ด ๋์ด ์๊ณ , GPU ๊ฐ์์ ์ง์ํ๋ค. ๋ฐ๋ผ์, ๋ ๋๋ง ์์ฒด๋ ์ด๋ ์ ๋๋ ๋น ๋ฅธ ํธ์ด๋ค.
์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ ํ๋ฒ ์จ๋ณด๋๋ก ๊ถ์ฅํ๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์ธ ๊ฐ์ง ์ ๋ ์๋๋ฐ, Alacritty/Kitty ๊ทธ๋ฆฌ๊ณ ์ด ๊ธ์์ ์๊ฐํ๋ Wezterm ์ ๋ ๋๋ค. ์์ฆ์ Zig ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด์ง Ghostty[1]๋ ์ถ์ฒํ ๋ง ํ ๊ฒ ๊ฐ๋ค. ํ์ง๋ง, ์ด ๊ธ์์๋ Wezterm์ ์๊ฐํ๊ธฐ๋ก ํ๊ธฐ ๋๋ฌธ์, Wezterm ์ค์ฌ์ผ๋ก ์๊ฐํ๋๋ก ํ๊ฒ ๋ค.
Wezterm์ ๋ค์๊ณผ ๊ฐ์ ํน์ง์ ๊ฐ์ง๋ค.
Wezterm์ ์ค์นํ๋ค๋ฉด ์ค์น ์๋ด ํ์ด์ง๋ฅผ ์ฐธ๊ณ ํด์ ์ค์นํ๋ฉด ๋๋๋ฐ, ์ฌ๋ฌ๋ถ์ด Wezterm์ ์ค์นํ๋ค๋ฉด ๋น์ฅ์ ๊ฒ์ ํ๋ฉด๋ง ๋ฐ์ง๋ ๋ชจ๋ฅธ๋ค.
Wezterm์ ์ค์นํ๊ณ ๋์, .config/wezterm/wezterm.lua
ํ์ผ์ ์์ ํด์ผ ํ๋๋ฐ, ๋น์ฅ์ ์๋์ฒ๋ผ ๋น์ด์์ ๊ฒ์ด๋ค. ํ์ผ์ด ์๋ค๋ฉด ๋ง๋ค์ด๋๋ ๊ฒ์ด ์ข๋ค.
return {}
์์ ์ฝ๋์์ {}
๋ lua์์๋ ํ
์ด๋ธ(๋ค๋ฅธ ์ธ์ด๋ก ์น๋ฉด, ๋์
๋๋ฆฌ/์ค๋ธ์ ํธ ๊ฐ์ ๊ฒ)์ด์ง๋ง, wezterm ํฐ๋ฏธ๋์ configuration์ ๋ํ๋ด๋ ํ
์ด๋ธ์ด๋ค. ์ฌ๊ธฐ์ ๋ช๊ฐ์ง ์ถ๊ฐ์ฌํญ์ ๋ฃ์ด๋ณด๊ฒ ๋ค.
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ๋๋ฐ, ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ์ผ๋ฉด ๊ฐ์ฅ ์ฒ์๋ถํฐ ํ๋๊ฒ ๋ฌด์์ด๊ฒ ๋๊ฐ? ๋ฐ๋ก, ํฐํธ๋ฅผ ์ธํ ํ๋ ๊ฒ์ด๋ค. ํฐ๋ฏธ๋ ํ๊ฒฝ์์ ์์ ํ ๋ ํฐํธ๋งํผ ์ค์ํ๊ฒ ๋ ์๋ค.
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({'Cascadia Code NF', 'NanumBarunGothic'}),
font_size = 12.0,
line_height = 1.2,
}
ํฐํธ๋ฅผ ๊ฐ์ ธ๋ค ์ธ๋๋ ์์ ์์์ ๊ฐ์ด font_with_fallback
ํจ์๋ฅผ ์ด์ฉํด์ ๊ฐ์ ธ๋ค ์ธ ์ ์๊ณ , ๊ทธ ์ธ์๋ ํฐํธ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๊ฑฐ๋ ํ๊ฐ์ ์ง์ ํ ์๋ ์๋ค. ๊ณต์ํ์ด์ง์์ ๋ณด์๋ฏ์ด, ์ฌ๋ฌ๋ถ์ ์ทจํฅ์ ๋ฐ๋ผ ๋ฐฐ๊ฒฝ์ ํน์ ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง๋ ์ง์ ํ ์ ์๋๋ฐ ์ฌ๋ฌ๋ถ ๋๋ฆ๋๋ก์ ๊ธฐ์ค์ด ์๊ณ ์์ฌ์ด ๋๋ค๋ฉด ํ๋ฒ ๋์ ํด๋ณด๋ ๊ฒ๋ ๋์์ง ์์ ๊ฒ ๊ฐ๋ค.
์์ ์ฝ๋๋ฅผ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ณ ํธ์งํ๋ค๋ณด๋ฉด ๋๋ ์ ์๊ฒ ์ง๋ง, wezterm์ ์ค์ ํ์ผ์ ํธ์งํ ๋ Hot Reloading์ ์ง์ํ๋ค. ์ด ๋ํ, ๋ด๊ฐ ๊ฐ์ฅ ์ ์ ํ๋ ๊ธฐ๋ฅ ์ค ํ๋์ด๋ค. ํน์ฌ๋ wezterm ์ค์ ํ์ผ์ ์์ ํ์๋, ๋ฌธ๋ฒ์ ์ค๋ฅ๊ฐ ์๊ฑฐ๋ ์ค์ ๊ฐ์ ์๋ชป ์ง์ ํ์ ๋, ์ ์ฐฝ์ผ๋ก ์ด๋ค ๋ถ๋ถ์ ์ค๋ฅ๊ฐ ์๋์ง ์น์ ํ๊ฒ Alert๋ ๋์์ค๋ค.
API ๋ ํผ๋ฐ์ค๋ฅผ ๋ณด๊ธฐ๋ง ํด๋ ์คํฌ๋ฆฝํ ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ด์ผ ๋น์ฐํ ๋ง๊ธด ํ๊ฒ ์ง๋ง, ์ฒ์ ์ ํ๋ ์ ์ฅ์์๋ ์ด๋ป๊ฒ ์ปค์คํฐ๋ง์ด์งํ ์ง ํ์ ํ๊ธฐ ๋ํดํ ์ ์๋ค.
์๋์์๋ ๋ด๊ฐ ์ด๋ป๊ฒ Wezterm์ ์ปค์คํฐ๋ง์ด์ง์ ํ๊ณ ์๋์ง ์์๋ฅผ ๋์ดํ๋ ๊ฒ์ผ๋ก ๊ธ์ ๋๋ด๊ฒ ๋ค. Wezterm, ๋ฏฟ๊ณ ์จ๋ณด์๋ผ.
Wezterm์์ ํฐ๋ฏธ๋ ์์์ ์ค์ ํ ๋, ๋ฐฐ๊ฒฝ์์์ ๋ฐํฌ๋ช ๋๋ฅผ ์ง์ ํ ์ ์๋ ์ต์ ์ด ์๋ค. ๋๋ ์ฌ๊ธฐ์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์ ํ๊ณ ์ถ์๋ค.
๋ฐํฌ๋ช ๋๋ฅผ ์์๋ก ๋ ์๋ ์์ง๋ง, ๋ชจ๋ํฐ ํ๋ ์ง๋ฆฌ์ ํ๊ฒฝ์์ ์์ ํ๋ค๋ฉด ๋ธ๋ผ์ฐ์ ๋ฅผ ๋ค์ชฝ์ ๋๊ณ ํฐ๋ฏธ๋ ์ฑ์ ์์ ๋๋ ์์ผ๋ก ์์ ์ ๋ง์ด ํ๊ฒ ๋๋ค. HMR(Hot Module Reloading)์ด ๋๋ ๊ฐ๋ฐํ๊ฒฝ์ด๋ผ๋ฉด, ์์ค์ฝ๋๋ฅผ ํธ์งํ๊ณ ํ๋ฉด์ ์ฆ๊ฐ์ ์ผ๋ก ๋ฐ์์ด ๋๋๊ฑธ ๊ธฐ๋ํ ํ ๋ฐ ์ด๊ฑธ ํญ ์ค์์นญํ๋ฉด์ ํ์ธํ๊ธฐ๋ ๊ต์ฅํ ๋ฒ๊ฑฐ๋กญ๋ค. ์จ์ ํ ์์ ์ ์ ์งํ๋ค๊ฐ ์ ๊น ํ์ธํ๊ณ ์ถ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋ณ๊ฒฝํ๋ฉด ๋๋๋ฐ๋ ๋ง์ด๋ค.
Wezterm์์๋ ์ด๋ฒคํธ๋ฅผ ๋ฐ์ ํ ์ ์๊ณ , ๋ค๋ฅธ ํ๋ก์ธ์ค์์ ํน์ ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋ ์ด๋ค ๋์์ ํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ ์ ์๋ค. Wezterm ํฐ๋ฏธ๋ ์ต์ ์ ์์ ํ๋๊ฒ๋ ์ฌ๊ธฐ์ ํฌํจ๋ ์ ์๋ค. ํน์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ๋ฉด, ์ด๋ค ์ด๋ฒคํธ๋ฅผ ๋ฐ์์ํฌ ์ ์๊ณ , ๊ทธ ์ด๋ฒคํธ๋ก ์ธํด์ ํ๋ฉด์ ๋ฐํฌ๋ช ๋๋ฅผ ์กฐ์ ํ ์ ์๊ฒ ํ๋ค.
local default_opacity = 0.9
local keymaps = {}
-- SHIFT + CTRL + Z ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ๊ฐ์์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = "Z",
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'decrease-opacity',
}
)
-- SHIFT + CTRL + X ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = 'X',
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'increase-opacity',
}
)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('increase-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity + 0.1
if opacity > 1.0 then
opacity = 1.0
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('decrease-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity - 0.1
if opacity < 0.3 then
opacity = 0.3
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
return {
keys = keymaps
}
๋๋ถ๋ถ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์์ ํญ ์ด๋ฆ์ ํ์ํ ๋, ํ์ฌ ํญ์์ ๋๊ณ ์๋ ํ๋ก์ธ์ค์ ์ด๋ฆ์ ๋ช ์ํ ๋๊ฐ ๋ง๋ค. ๊ทธ๋ฐ๋ฐ, ํญ์ ๋ช ์๋์ด ์๋ ํ์ดํ๋ง ๊ฐ์ง๊ณ ๋ ๊ฐ๊ฐ์ ํญ์ด ์ด๋ค ์ญํ ์ ํ๋ ๊ฒ์ธ์ง ํ์ ํ๊ธฐ ์ด๋ ต๋ค. ์ด๋ ์ชฝ์ด ์๋ฒ๋ฅผ ๋์ฐ๊ณ ์๋๊ฑด์ง, ์ด๋ ์ชฝ์ด ์๋ํฐ ํธ์ง ํ๋ฉด์ธ์ง, ์ด๋ ์ชฝ์ด LLM Agent๋ฅผ ๋๋ฆฌ๊ณ ์๋์ง ๋ํดํ๋ค.
ํ์ง๋ง, ์๋์ฒ๋ผ wezterm.action.PromptInputLine
API๋ฅผ ์ฌ์ฉํด์ ํ๋กฌํํธ ์
๋ ฅ์ ๋ฐ์ ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก, ํ์ฌ ํ์ฑํ๋ ํญ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ์์ผ๋ก ์ธ์ง๋ถํ๋ฅผ ์ค์ผ ์ ์๋ค.
local wezterm = require('wezterm')
local keymaps = {}
table.insert(
keymaps,
{
key = '`',
mods = 'CTRL',
action = wezterm.action.PromptInputLine {
description = "Enter new name for tab",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end)
}
}
)
return {
keys = keymaps
}
Aider๋ Claude Code ๊ฐ์ LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํ ํ ์์ ์์ ์ด ๋๋ฌ๊ฑฐ๋, ํน์ ์์ ์ ๋ํ ์น์ธ์ ์๊ตฌํ ๋๊ฐ ๊ฐํน ์๋ค. LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํํ๋๊ฑธ ๊ฐ๋งํ ๋ณด๊ณ ๋ง ์์ ์ ์์ ๊ฒ์ด๋ค.
Claude Code/Aider๋ ๋คํํ๋ ์๋ต์ ํ๊ณ ๋์ ์ถ๊ฐ์ ์ธ ๋ช
๋ น์ ์คํํ ์ ์๋ ์ต์
[2]์ ์ ๊ณตํด์ฃผ๋๋ฐ, ๊ฑฐ๊ธฐ์ ๊ฐ๋จํ๊ฒ echo -ne '\007'
๋ช
๋ น์ด๋ฅผ ๋๊ฒจ์ค ์ ์๋ค. ์ด ๋ช
๋ น์ด๋ ์์ฒญ ์ด๋ ต์ง๋ ์๋ค. ํฐ๋ฏธ๋ ์ฑ์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ฌ์ํ๋ ๋ช
๋ น์ด๋ค.
์์ ํ๊ฒฝ์ด ์ด๋๋์ ๋ฐ๋ผ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง, ์์ ์๋ฃ ์ฌ๋ถ๋ฅผ ์์ฑ์ผ๋ก ๋ฐ๊ธฐ์๋ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฝ์ด ์์ ์ ์๋ค. ์์ ์๋ฆผ ์ผํฐ๋ฅผ ์ด์ฉํ๋ค๊ณ ์น์. ์ ๋ฌด ์๊ฐ๋์ ๋ฐฉํด๊ธ์ง ๋ชจ๋๋ฅผ ์ค์ ํ๋ค๋ฉด ์๋ฆผ์ด ์ธ๋ฆฌ๊ฒ ์ค์ ์ด ํ๋๋ผ๋ ์์คํ ์ ์ฝ์ ๋ฌปํ ๊ฐ๋ฅ์ฑ๋ ์๋ค.[3]
visual_bell
์ต์
์ ํ์ฉํ๋ฉด, ํฐ๋ฏธ๋์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ธ๋ฆฌ๋ ๋์ ํ๋ฉด์ด ๋ฐ์ง์ด๊ฒ ํด์ ๋ค๋ฅธ ์์ด์ ํธ๊ฐ ์๋ต์ ์๋ฃํ๋ค๊ณ ๋ช
์์ ์ผ๋ก ์๋ฆผ์ ๋ฐ์ ์ ์๋ค. LLM ์์ด์ ํธ๊ฐ ํ๋ ์ผ์ ์ผ์ผ์ด ๋ชจ๋ํฐ๋งํ์ง ์๋๋ผ๋, ๋ค๋ฅธ ์์
์ ์ํํ๋ ์ค์ ํ๋ฉด์ด ๋ฐ์ง์ด๋ฉด ๊ทธ๋ ํ์ธํ๊ธฐ๋ง ํ๋ฉด ๊ทธ๋ง์ด๋ค.
return {
colors = {
visual_bell = '#003355',
},
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = 'BackgroundColor', -- ๋๋ 'CursorColor'
}
}
Hashicorp ๊ณต๋์ฐฝ์ ์์ธ Mitchell Hashimoto๊ฐ ๋ง๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ธ๋ฐ, OpenAI์์ Codex ์์ฐํ ๋ Ghostty ํฐ๋ฏธ๋๋ก ์์ฐํ ๋ฐ๊ฐ ์๋ค. โฉ๏ธ
Aider๋ notifications-command, Claude Code๋ Hook์ด ์๋ค โฉ๏ธ
์ด๋ค ์ฌ๋์ ํด๋์ ํ๋ฅผ ์ง๋๋ชจ๋๋ก ํด๋๊ณ , ํ ๋ ๊ทธ๋จ/๋์ค์ฝ๋๋ก ์๋ฆผ์ด์ ์๋ฆผ์ ์์ ๋ฐ๋ ๋ฐฉ์์ ์ฐ๊ณ ์๋ ๊ฒ์ ๊ด์ฐฐํ ๋ฐ๋ ์๋ค. โฉ๏ธ
@kodingwarrior@hackers.pub
์ด ๊ธ(๊ทธ๋ฆฌ๊ณ ํ์์์ด ๋ ๊ธ๋ค)์, ๋ด ๊ฐ๋ฐํ๊ฒฝ์์ ์์ฃผ ์ฌ์ฉํ๊ณ ์๊ณ ์ค์ ๋ก๋ ์ ์ ํ๊ณ ์๋ ๋๊ตฌ์ ๋ํด์ ์๊ฐํ๊ฒ ๋ ๊ฒ ๊ฐ๋ค. ๋ด๊ฐ ์ด๋ค ํ๊ฒฝ์์ ๊ฐ๋ฐํ๊ณ ์๋์ง ๊ถ๊ธํ ๋ถ๋ค์ ๋ด dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํด๋ ์ข์ ๊ฒ ๊ฐ๋ค.
dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ง ๋ณด๋ฉด ๋ญ๊ฐ ๋๋จํด๋ณด์ผ ๊ฒ ๊ฐ์ง๋ง, dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ ๊ทธ๋ฅ ๋จ์ํ๋ค.
.zshrc
/.bashrc
๊ฐ์ ๊ฒ๋ค์ ๋ง์ฃผํ๊ฒ ๋ ๊ฒ์ด๋ค..gitconfig
๊ฐ์ ํ์ผ์ ์์ ํ๊ฒ ๋ ๋๊ฐ ์๋ค.
git config pull.rebase true
๊ฐ์ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง์ ์ ์๋ค. ํ์ง๋ง, ์ด๋ฐ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ฉด .gitconfig์๋ ๊ทธ๋๋ก ๊ธฐ๋ก์ด ๋๋ค.์์์ ์ธ๊ธํ ์์๋ฅผ ๋ณด๋ฉด ์ ์ ์๊ฒ ๋ฏ์ด, ์์ dot(.)์ด ๋ถ์ด์๋ ์ค์ ํ์ผ์ด๋ผ๋ฉด dotfiles๋ผ๊ณ ํ ์ ์๊ฒ ๋ค. dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ ๊ด๋ฆฌ๋ฅผ ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ? ๊ทธ๊ฒ์ ๋ฐ๋ก ์ด๋ค ํ๊ฒฝ์์๋ .zshrc/.gitignore ํ์ผ ๊ฐ์ ๊ฒ๋ค์ ๋์ผํ๊ฒ ์ฌ์ฉํ์ฌ ์์ ์ ํ๋ฆ์ ์จ์ ํ ์ ์งํ ์ ์๋ค๋ ์ฅ์ ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค. dotfiles๋ฅผ git๊ณผ ๊ฐ์ ๋ฒ์ ๊ด๋ฆฌ ๋๊ตฌ๋ก ๊ด๋ฆฌํ ์ ์๊ณ , github ๊ฐ์ ์ ์ฅ์์ ์ฌ๋ ค๋์ ์ ์๋ค๋ฉด.... ์ด๋ค ๊ฐ๋ฐํ๊ฒฝ์ผ๋ก ๊ฐ์ํ๋๋ผ๋ github์์ ๋ฐ๋ก ๋ด๋ ค๋ฐ๊ณ , ๊ฐ ์ค์ ํ์ผ๋ค์ ์ฎ๊ธฐ๋ฉด ๊ทธ๋ง์ด๊ธฐ ๋๋ฌธ์ ๊ฐ๋ฐํ๊ฒฝ ์ค์ ํ๋๋ฐ ๋๋ ์๊ฐ์ ๋น์ฉ์ ๊ต์ฅํ ์๋ ์ ์๋ค.
dotfiles๋ฅผ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ๋ค์ ์ฌ๋ฌ๊ฐ์ง ์๊ฒ ์ง๋ง(symbolic link๋ฅผ ์ด์ฉํ๋ค๋๊ฐ ๋ฑ๋ฑ), ๊ฐ์ธ์ ์ผ๋ก๋ chezmoi๋ฅผ ๊ถ์ฅํ๋ ๋ฐ์ด๋ค. chezmoi๋ dotfiles๋ค์ ๋ฒ์ ๊ด๋ฆฌํ ์ ์๊ฒ ํธ์์ฑ์ ์ ๊ณตํด์ฃผ๋ CLI ๋๊ตฌ์ด๋ค.
chezmoi init https://github.com/malkoG/dotfiles.git
๋ช
๋ น์ ์คํํด๋ณด๋ฉด ๋๋ค.Wezterm์ Konsole/iTerm2/Gnome Terminal/Alacritty๊ณผ ๊ฐ์ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ด๋ฉฐ, Rust ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ์ด ๋์ด ์๊ณ , GPU ๊ฐ์์ ์ง์ํ๋ค. ๋ฐ๋ผ์, ๋ ๋๋ง ์์ฒด๋ ์ด๋ ์ ๋๋ ๋น ๋ฅธ ํธ์ด๋ค.
์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ ํ๋ฒ ์จ๋ณด๋๋ก ๊ถ์ฅํ๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์ธ ๊ฐ์ง ์ ๋ ์๋๋ฐ, Alacritty/Kitty ๊ทธ๋ฆฌ๊ณ ์ด ๊ธ์์ ์๊ฐํ๋ Wezterm ์ ๋ ๋๋ค. ์์ฆ์ Zig ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด์ง Ghostty[1]๋ ์ถ์ฒํ ๋ง ํ ๊ฒ ๊ฐ๋ค. ํ์ง๋ง, ์ด ๊ธ์์๋ Wezterm์ ์๊ฐํ๊ธฐ๋ก ํ๊ธฐ ๋๋ฌธ์, Wezterm ์ค์ฌ์ผ๋ก ์๊ฐํ๋๋ก ํ๊ฒ ๋ค.
Wezterm์ ๋ค์๊ณผ ๊ฐ์ ํน์ง์ ๊ฐ์ง๋ค.
Wezterm์ ์ค์นํ๋ค๋ฉด ์ค์น ์๋ด ํ์ด์ง๋ฅผ ์ฐธ๊ณ ํด์ ์ค์นํ๋ฉด ๋๋๋ฐ, ์ฌ๋ฌ๋ถ์ด Wezterm์ ์ค์นํ๋ค๋ฉด ๋น์ฅ์ ๊ฒ์ ํ๋ฉด๋ง ๋ฐ์ง๋ ๋ชจ๋ฅธ๋ค.
Wezterm์ ์ค์นํ๊ณ ๋์, .config/wezterm/wezterm.lua
ํ์ผ์ ์์ ํด์ผ ํ๋๋ฐ, ๋น์ฅ์ ์๋์ฒ๋ผ ๋น์ด์์ ๊ฒ์ด๋ค. ํ์ผ์ด ์๋ค๋ฉด ๋ง๋ค์ด๋๋ ๊ฒ์ด ์ข๋ค.
return {}
์์ ์ฝ๋์์ {}
๋ lua์์๋ ํ
์ด๋ธ(๋ค๋ฅธ ์ธ์ด๋ก ์น๋ฉด, ๋์
๋๋ฆฌ/์ค๋ธ์ ํธ ๊ฐ์ ๊ฒ)์ด์ง๋ง, wezterm ํฐ๋ฏธ๋์ configuration์ ๋ํ๋ด๋ ํ
์ด๋ธ์ด๋ค. ์ฌ๊ธฐ์ ๋ช๊ฐ์ง ์ถ๊ฐ์ฌํญ์ ๋ฃ์ด๋ณด๊ฒ ๋ค.
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ๋๋ฐ, ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ์ผ๋ฉด ๊ฐ์ฅ ์ฒ์๋ถํฐ ํ๋๊ฒ ๋ฌด์์ด๊ฒ ๋๊ฐ? ๋ฐ๋ก, ํฐํธ๋ฅผ ์ธํ ํ๋ ๊ฒ์ด๋ค. ํฐ๋ฏธ๋ ํ๊ฒฝ์์ ์์ ํ ๋ ํฐํธ๋งํผ ์ค์ํ๊ฒ ๋ ์๋ค.
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({'Cascadia Code NF', 'NanumBarunGothic'}),
font_size = 12.0,
line_height = 1.2,
}
ํฐํธ๋ฅผ ๊ฐ์ ธ๋ค ์ธ๋๋ ์์ ์์์ ๊ฐ์ด font_with_fallback
ํจ์๋ฅผ ์ด์ฉํด์ ๊ฐ์ ธ๋ค ์ธ ์ ์๊ณ , ๊ทธ ์ธ์๋ ํฐํธ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๊ฑฐ๋ ํ๊ฐ์ ์ง์ ํ ์๋ ์๋ค. ๊ณต์ํ์ด์ง์์ ๋ณด์๋ฏ์ด, ์ฌ๋ฌ๋ถ์ ์ทจํฅ์ ๋ฐ๋ผ ๋ฐฐ๊ฒฝ์ ํน์ ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง๋ ์ง์ ํ ์ ์๋๋ฐ ์ฌ๋ฌ๋ถ ๋๋ฆ๋๋ก์ ๊ธฐ์ค์ด ์๊ณ ์์ฌ์ด ๋๋ค๋ฉด ํ๋ฒ ๋์ ํด๋ณด๋ ๊ฒ๋ ๋์์ง ์์ ๊ฒ ๊ฐ๋ค.
์์ ์ฝ๋๋ฅผ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ณ ํธ์งํ๋ค๋ณด๋ฉด ๋๋ ์ ์๊ฒ ์ง๋ง, wezterm์ ์ค์ ํ์ผ์ ํธ์งํ ๋ Hot Reloading์ ์ง์ํ๋ค. ์ด ๋ํ, ๋ด๊ฐ ๊ฐ์ฅ ์ ์ ํ๋ ๊ธฐ๋ฅ ์ค ํ๋์ด๋ค. ํน์ฌ๋ wezterm ์ค์ ํ์ผ์ ์์ ํ์๋, ๋ฌธ๋ฒ์ ์ค๋ฅ๊ฐ ์๊ฑฐ๋ ์ค์ ๊ฐ์ ์๋ชป ์ง์ ํ์ ๋, ์ ์ฐฝ์ผ๋ก ์ด๋ค ๋ถ๋ถ์ ์ค๋ฅ๊ฐ ์๋์ง ์น์ ํ๊ฒ Alert๋ ๋์์ค๋ค.
API ๋ ํผ๋ฐ์ค๋ฅผ ๋ณด๊ธฐ๋ง ํด๋ ์คํฌ๋ฆฝํ ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ด์ผ ๋น์ฐํ ๋ง๊ธด ํ๊ฒ ์ง๋ง, ์ฒ์ ์ ํ๋ ์ ์ฅ์์๋ ์ด๋ป๊ฒ ์ปค์คํฐ๋ง์ด์งํ ์ง ํ์ ํ๊ธฐ ๋ํดํ ์ ์๋ค.
์๋์์๋ ๋ด๊ฐ ์ด๋ป๊ฒ Wezterm์ ์ปค์คํฐ๋ง์ด์ง์ ํ๊ณ ์๋์ง ์์๋ฅผ ๋์ดํ๋ ๊ฒ์ผ๋ก ๊ธ์ ๋๋ด๊ฒ ๋ค. Wezterm, ๋ฏฟ๊ณ ์จ๋ณด์๋ผ.
Wezterm์์ ํฐ๋ฏธ๋ ์์์ ์ค์ ํ ๋, ๋ฐฐ๊ฒฝ์์์ ๋ฐํฌ๋ช ๋๋ฅผ ์ง์ ํ ์ ์๋ ์ต์ ์ด ์๋ค. ๋๋ ์ฌ๊ธฐ์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์ ํ๊ณ ์ถ์๋ค.
๋ฐํฌ๋ช ๋๋ฅผ ์์๋ก ๋ ์๋ ์์ง๋ง, ๋ชจ๋ํฐ ํ๋ ์ง๋ฆฌ์ ํ๊ฒฝ์์ ์์ ํ๋ค๋ฉด ๋ธ๋ผ์ฐ์ ๋ฅผ ๋ค์ชฝ์ ๋๊ณ ํฐ๋ฏธ๋ ์ฑ์ ์์ ๋๋ ์์ผ๋ก ์์ ์ ๋ง์ด ํ๊ฒ ๋๋ค. HMR(Hot Module Reloading)์ด ๋๋ ๊ฐ๋ฐํ๊ฒฝ์ด๋ผ๋ฉด, ์์ค์ฝ๋๋ฅผ ํธ์งํ๊ณ ํ๋ฉด์ ์ฆ๊ฐ์ ์ผ๋ก ๋ฐ์์ด ๋๋๊ฑธ ๊ธฐ๋ํ ํ ๋ฐ ์ด๊ฑธ ํญ ์ค์์นญํ๋ฉด์ ํ์ธํ๊ธฐ๋ ๊ต์ฅํ ๋ฒ๊ฑฐ๋กญ๋ค. ์จ์ ํ ์์ ์ ์ ์งํ๋ค๊ฐ ์ ๊น ํ์ธํ๊ณ ์ถ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋ณ๊ฒฝํ๋ฉด ๋๋๋ฐ๋ ๋ง์ด๋ค.
Wezterm์์๋ ์ด๋ฒคํธ๋ฅผ ๋ฐ์ ํ ์ ์๊ณ , ๋ค๋ฅธ ํ๋ก์ธ์ค์์ ํน์ ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋ ์ด๋ค ๋์์ ํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ ์ ์๋ค. Wezterm ํฐ๋ฏธ๋ ์ต์ ์ ์์ ํ๋๊ฒ๋ ์ฌ๊ธฐ์ ํฌํจ๋ ์ ์๋ค. ํน์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ๋ฉด, ์ด๋ค ์ด๋ฒคํธ๋ฅผ ๋ฐ์์ํฌ ์ ์๊ณ , ๊ทธ ์ด๋ฒคํธ๋ก ์ธํด์ ํ๋ฉด์ ๋ฐํฌ๋ช ๋๋ฅผ ์กฐ์ ํ ์ ์๊ฒ ํ๋ค.
local default_opacity = 0.9
local keymaps = {}
-- SHIFT + CTRL + Z ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ๊ฐ์์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = "Z",
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'decrease-opacity',
}
)
-- SHIFT + CTRL + X ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = 'X',
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'increase-opacity',
}
)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('increase-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity + 0.1
if opacity > 1.0 then
opacity = 1.0
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('decrease-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity - 0.1
if opacity < 0.3 then
opacity = 0.3
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
return {
keys = keymaps
}
๋๋ถ๋ถ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์์ ํญ ์ด๋ฆ์ ํ์ํ ๋, ํ์ฌ ํญ์์ ๋๊ณ ์๋ ํ๋ก์ธ์ค์ ์ด๋ฆ์ ๋ช ์ํ ๋๊ฐ ๋ง๋ค. ๊ทธ๋ฐ๋ฐ, ํญ์ ๋ช ์๋์ด ์๋ ํ์ดํ๋ง ๊ฐ์ง๊ณ ๋ ๊ฐ๊ฐ์ ํญ์ด ์ด๋ค ์ญํ ์ ํ๋ ๊ฒ์ธ์ง ํ์ ํ๊ธฐ ์ด๋ ต๋ค. ์ด๋ ์ชฝ์ด ์๋ฒ๋ฅผ ๋์ฐ๊ณ ์๋๊ฑด์ง, ์ด๋ ์ชฝ์ด ์๋ํฐ ํธ์ง ํ๋ฉด์ธ์ง, ์ด๋ ์ชฝ์ด LLM Agent๋ฅผ ๋๋ฆฌ๊ณ ์๋์ง ๋ํดํ๋ค.
ํ์ง๋ง, ์๋์ฒ๋ผ wezterm.action.PromptInputLine
API๋ฅผ ์ฌ์ฉํด์ ํ๋กฌํํธ ์
๋ ฅ์ ๋ฐ์ ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก, ํ์ฌ ํ์ฑํ๋ ํญ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ์์ผ๋ก ์ธ์ง๋ถํ๋ฅผ ์ค์ผ ์ ์๋ค.
local wezterm = require('wezterm')
local keymaps = {}
table.insert(
keymaps,
{
key = '`',
mods = 'CTRL',
action = wezterm.action.PromptInputLine {
description = "Enter new name for tab",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end)
}
}
)
return {
keys = keymaps
}
Aider๋ Claude Code ๊ฐ์ LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํ ํ ์์ ์์ ์ด ๋๋ฌ๊ฑฐ๋, ํน์ ์์ ์ ๋ํ ์น์ธ์ ์๊ตฌํ ๋๊ฐ ๊ฐํน ์๋ค. LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํํ๋๊ฑธ ๊ฐ๋งํ ๋ณด๊ณ ๋ง ์์ ์ ์์ ๊ฒ์ด๋ค.
Claude Code/Aider๋ ๋คํํ๋ ์๋ต์ ํ๊ณ ๋์ ์ถ๊ฐ์ ์ธ ๋ช
๋ น์ ์คํํ ์ ์๋ ์ต์
[2]์ ์ ๊ณตํด์ฃผ๋๋ฐ, ๊ฑฐ๊ธฐ์ ๊ฐ๋จํ๊ฒ echo -ne '\007'
๋ช
๋ น์ด๋ฅผ ๋๊ฒจ์ค ์ ์๋ค. ์ด ๋ช
๋ น์ด๋ ์์ฒญ ์ด๋ ต์ง๋ ์๋ค. ํฐ๋ฏธ๋ ์ฑ์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ฌ์ํ๋ ๋ช
๋ น์ด๋ค.
์์ ํ๊ฒฝ์ด ์ด๋๋์ ๋ฐ๋ผ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง, ์์ ์๋ฃ ์ฌ๋ถ๋ฅผ ์์ฑ์ผ๋ก ๋ฐ๊ธฐ์๋ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฝ์ด ์์ ์ ์๋ค. ์์ ์๋ฆผ ์ผํฐ๋ฅผ ์ด์ฉํ๋ค๊ณ ์น์. ์ ๋ฌด ์๊ฐ๋์ ๋ฐฉํด๊ธ์ง ๋ชจ๋๋ฅผ ์ค์ ํ๋ค๋ฉด ์๋ฆผ์ด ์ธ๋ฆฌ๊ฒ ์ค์ ์ด ํ๋๋ผ๋ ์์คํ ์ ์ฝ์ ๋ฌปํ ๊ฐ๋ฅ์ฑ๋ ์๋ค.[3]
visual_bell
์ต์
์ ํ์ฉํ๋ฉด, ํฐ๋ฏธ๋์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ธ๋ฆฌ๋ ๋์ ํ๋ฉด์ด ๋ฐ์ง์ด๊ฒ ํด์ ๋ค๋ฅธ ์์ด์ ํธ๊ฐ ์๋ต์ ์๋ฃํ๋ค๊ณ ๋ช
์์ ์ผ๋ก ์๋ฆผ์ ๋ฐ์ ์ ์๋ค. LLM ์์ด์ ํธ๊ฐ ํ๋ ์ผ์ ์ผ์ผ์ด ๋ชจ๋ํฐ๋งํ์ง ์๋๋ผ๋, ๋ค๋ฅธ ์์
์ ์ํํ๋ ์ค์ ํ๋ฉด์ด ๋ฐ์ง์ด๋ฉด ๊ทธ๋ ํ์ธํ๊ธฐ๋ง ํ๋ฉด ๊ทธ๋ง์ด๋ค.
return {
colors = {
visual_bell = '#003355',
},
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = 'BackgroundColor', -- ๋๋ 'CursorColor'
}
}
Hashicorp ๊ณต๋์ฐฝ์ ์์ธ Mitchell Hashimoto๊ฐ ๋ง๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ธ๋ฐ, OpenAI์์ Codex ์์ฐํ ๋ Ghostty ํฐ๋ฏธ๋๋ก ์์ฐํ ๋ฐ๊ฐ ์๋ค. โฉ๏ธ
Aider๋ notifications-command, Claude Code๋ Hook์ด ์๋ค โฉ๏ธ
์ด๋ค ์ฌ๋์ ํด๋์ ํ๋ฅผ ์ง๋๋ชจ๋๋ก ํด๋๊ณ , ํ ๋ ๊ทธ๋จ/๋์ค์ฝ๋๋ก ์๋ฆผ์ด์ ์๋ฆผ์ ์์ ๋ฐ๋ ๋ฐฉ์์ ์ฐ๊ณ ์๋ ๊ฒ์ ๊ด์ฐฐํ ๋ฐ๋ ์๋ค. โฉ๏ธ
@kodingwarrior@hackers.pub
์ด ๊ธ(๊ทธ๋ฆฌ๊ณ ํ์์์ด ๋ ๊ธ๋ค)์, ๋ด ๊ฐ๋ฐํ๊ฒฝ์์ ์์ฃผ ์ฌ์ฉํ๊ณ ์๊ณ ์ค์ ๋ก๋ ์ ์ ํ๊ณ ์๋ ๋๊ตฌ์ ๋ํด์ ์๊ฐํ๊ฒ ๋ ๊ฒ ๊ฐ๋ค. ๋ด๊ฐ ์ด๋ค ํ๊ฒฝ์์ ๊ฐ๋ฐํ๊ณ ์๋์ง ๊ถ๊ธํ ๋ถ๋ค์ ๋ด dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํด๋ ์ข์ ๊ฒ ๊ฐ๋ค.
dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ง ๋ณด๋ฉด ๋ญ๊ฐ ๋๋จํด๋ณด์ผ ๊ฒ ๊ฐ์ง๋ง, dotfiles๋ผ๋ ์ด๋ฆ ์์ฒด๋ ๊ทธ๋ฅ ๋จ์ํ๋ค.
.zshrc
/.bashrc
๊ฐ์ ๊ฒ๋ค์ ๋ง์ฃผํ๊ฒ ๋ ๊ฒ์ด๋ค..gitconfig
๊ฐ์ ํ์ผ์ ์์ ํ๊ฒ ๋ ๋๊ฐ ์๋ค.
git config pull.rebase true
๊ฐ์ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ ๊ฒฝ์ฐ๊ฐ ๋ ๋ง์ ์ ์๋ค. ํ์ง๋ง, ์ด๋ฐ ๋ช
๋ น์ด๋ฅผ ์คํํ๋ฉด .gitconfig์๋ ๊ทธ๋๋ก ๊ธฐ๋ก์ด ๋๋ค.์์์ ์ธ๊ธํ ์์๋ฅผ ๋ณด๋ฉด ์ ์ ์๊ฒ ๋ฏ์ด, ์์ dot(.)์ด ๋ถ์ด์๋ ์ค์ ํ์ผ์ด๋ผ๋ฉด dotfiles๋ผ๊ณ ํ ์ ์๊ฒ ๋ค. dotfiles ๋ฆฌํฌ์งํ ๋ฆฌ๋ฅผ ๋ง๋ค์ด์ ๊ด๋ฆฌ๋ฅผ ํ๋ ์ด์ ๋ ๋ฌด์์ธ๊ฐ? ๊ทธ๊ฒ์ ๋ฐ๋ก ์ด๋ค ํ๊ฒฝ์์๋ .zshrc/.gitignore ํ์ผ ๊ฐ์ ๊ฒ๋ค์ ๋์ผํ๊ฒ ์ฌ์ฉํ์ฌ ์์ ์ ํ๋ฆ์ ์จ์ ํ ์ ์งํ ์ ์๋ค๋ ์ฅ์ ์ด ์๊ธฐ ๋๋ฌธ์ด๋ค. dotfiles๋ฅผ git๊ณผ ๊ฐ์ ๋ฒ์ ๊ด๋ฆฌ ๋๊ตฌ๋ก ๊ด๋ฆฌํ ์ ์๊ณ , github ๊ฐ์ ์ ์ฅ์์ ์ฌ๋ ค๋์ ์ ์๋ค๋ฉด.... ์ด๋ค ๊ฐ๋ฐํ๊ฒฝ์ผ๋ก ๊ฐ์ํ๋๋ผ๋ github์์ ๋ฐ๋ก ๋ด๋ ค๋ฐ๊ณ , ๊ฐ ์ค์ ํ์ผ๋ค์ ์ฎ๊ธฐ๋ฉด ๊ทธ๋ง์ด๊ธฐ ๋๋ฌธ์ ๊ฐ๋ฐํ๊ฒฝ ์ค์ ํ๋๋ฐ ๋๋ ์๊ฐ์ ๋น์ฉ์ ๊ต์ฅํ ์๋ ์ ์๋ค.
dotfiles๋ฅผ ๊ด๋ฆฌํ๋ ๋ฐฉ๋ฒ๋ค์ ์ฌ๋ฌ๊ฐ์ง ์๊ฒ ์ง๋ง(symbolic link๋ฅผ ์ด์ฉํ๋ค๋๊ฐ ๋ฑ๋ฑ), ๊ฐ์ธ์ ์ผ๋ก๋ chezmoi๋ฅผ ๊ถ์ฅํ๋ ๋ฐ์ด๋ค. chezmoi๋ dotfiles๋ค์ ๋ฒ์ ๊ด๋ฆฌํ ์ ์๊ฒ ํธ์์ฑ์ ์ ๊ณตํด์ฃผ๋ CLI ๋๊ตฌ์ด๋ค.
chezmoi init https://github.com/malkoG/dotfiles.git
๋ช
๋ น์ ์คํํด๋ณด๋ฉด ๋๋ค.Wezterm์ Konsole/iTerm2/Gnome Terminal/Alacritty๊ณผ ๊ฐ์ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ด๋ฉฐ, Rust ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ์ด ๋์ด ์๊ณ , GPU ๊ฐ์์ ์ง์ํ๋ค. ๋ฐ๋ผ์, ๋ ๋๋ง ์์ฒด๋ ์ด๋ ์ ๋๋ ๋น ๋ฅธ ํธ์ด๋ค.
์ฃผ๋ณ ์ฌ๋๋ค์๊ฒ ํ๋ฒ ์จ๋ณด๋๋ก ๊ถ์ฅํ๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๊ฐ ์ธ ๊ฐ์ง ์ ๋ ์๋๋ฐ, Alacritty/Kitty ๊ทธ๋ฆฌ๊ณ ์ด ๊ธ์์ ์๊ฐํ๋ Wezterm ์ ๋ ๋๋ค. ์์ฆ์ Zig ๊ธฐ๋ฐ์ผ๋ก ๋ง๋ค์ด์ง Ghostty[1]๋ ์ถ์ฒํ ๋ง ํ ๊ฒ ๊ฐ๋ค. ํ์ง๋ง, ์ด ๊ธ์์๋ Wezterm์ ์๊ฐํ๊ธฐ๋ก ํ๊ธฐ ๋๋ฌธ์, Wezterm ์ค์ฌ์ผ๋ก ์๊ฐํ๋๋ก ํ๊ฒ ๋ค.
Wezterm์ ๋ค์๊ณผ ๊ฐ์ ํน์ง์ ๊ฐ์ง๋ค.
Wezterm์ ์ค์นํ๋ค๋ฉด ์ค์น ์๋ด ํ์ด์ง๋ฅผ ์ฐธ๊ณ ํด์ ์ค์นํ๋ฉด ๋๋๋ฐ, ์ฌ๋ฌ๋ถ์ด Wezterm์ ์ค์นํ๋ค๋ฉด ๋น์ฅ์ ๊ฒ์ ํ๋ฉด๋ง ๋ฐ์ง๋ ๋ชจ๋ฅธ๋ค.
Wezterm์ ์ค์นํ๊ณ ๋์, .config/wezterm/wezterm.lua
ํ์ผ์ ์์ ํด์ผ ํ๋๋ฐ, ๋น์ฅ์ ์๋์ฒ๋ผ ๋น์ด์์ ๊ฒ์ด๋ค. ํ์ผ์ด ์๋ค๋ฉด ๋ง๋ค์ด๋๋ ๊ฒ์ด ์ข๋ค.
return {}
์์ ์ฝ๋์์ {}
๋ lua์์๋ ํ
์ด๋ธ(๋ค๋ฅธ ์ธ์ด๋ก ์น๋ฉด, ๋์
๋๋ฆฌ/์ค๋ธ์ ํธ ๊ฐ์ ๊ฒ)์ด์ง๋ง, wezterm ํฐ๋ฏธ๋์ configuration์ ๋ํ๋ด๋ ํ
์ด๋ธ์ด๋ค. ์ฌ๊ธฐ์ ๋ช๊ฐ์ง ์ถ๊ฐ์ฌํญ์ ๋ฃ์ด๋ณด๊ฒ ๋ค.
ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ๋๋ฐ, ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ๋ฅผ ์ค์นํ์ผ๋ฉด ๊ฐ์ฅ ์ฒ์๋ถํฐ ํ๋๊ฒ ๋ฌด์์ด๊ฒ ๋๊ฐ? ๋ฐ๋ก, ํฐํธ๋ฅผ ์ธํ ํ๋ ๊ฒ์ด๋ค. ํฐ๋ฏธ๋ ํ๊ฒฝ์์ ์์ ํ ๋ ํฐํธ๋งํผ ์ค์ํ๊ฒ ๋ ์๋ค.
local wezterm = require("wezterm")
return {
font = wezterm.font_with_fallback({'Cascadia Code NF', 'NanumBarunGothic'}),
font_size = 12.0,
line_height = 1.2,
}
ํฐํธ๋ฅผ ๊ฐ์ ธ๋ค ์ธ๋๋ ์์ ์์์ ๊ฐ์ด font_with_fallback
ํจ์๋ฅผ ์ด์ฉํด์ ๊ฐ์ ธ๋ค ์ธ ์ ์๊ณ , ๊ทธ ์ธ์๋ ํฐํธ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๊ฑฐ๋ ํ๊ฐ์ ์ง์ ํ ์๋ ์๋ค. ๊ณต์ํ์ด์ง์์ ๋ณด์๋ฏ์ด, ์ฌ๋ฌ๋ถ์ ์ทจํฅ์ ๋ฐ๋ผ ๋ฐฐ๊ฒฝ์ ํน์ ๋ฐฐ๊ฒฝ์ด๋ฏธ์ง๋ ์ง์ ํ ์ ์๋๋ฐ ์ฌ๋ฌ๋ถ ๋๋ฆ๋๋ก์ ๊ธฐ์ค์ด ์๊ณ ์์ฌ์ด ๋๋ค๋ฉด ํ๋ฒ ๋์ ํด๋ณด๋ ๊ฒ๋ ๋์์ง ์์ ๊ฒ ๊ฐ๋ค.
์์ ์ฝ๋๋ฅผ ๋ณต์ฌ ๋ถ์ฌ๋ฃ๊ณ ํธ์งํ๋ค๋ณด๋ฉด ๋๋ ์ ์๊ฒ ์ง๋ง, wezterm์ ์ค์ ํ์ผ์ ํธ์งํ ๋ Hot Reloading์ ์ง์ํ๋ค. ์ด ๋ํ, ๋ด๊ฐ ๊ฐ์ฅ ์ ์ ํ๋ ๊ธฐ๋ฅ ์ค ํ๋์ด๋ค. ํน์ฌ๋ wezterm ์ค์ ํ์ผ์ ์์ ํ์๋, ๋ฌธ๋ฒ์ ์ค๋ฅ๊ฐ ์๊ฑฐ๋ ์ค์ ๊ฐ์ ์๋ชป ์ง์ ํ์ ๋, ์ ์ฐฝ์ผ๋ก ์ด๋ค ๋ถ๋ถ์ ์ค๋ฅ๊ฐ ์๋์ง ์น์ ํ๊ฒ Alert๋ ๋์์ค๋ค.
API ๋ ํผ๋ฐ์ค๋ฅผ ๋ณด๊ธฐ๋ง ํด๋ ์คํฌ๋ฆฝํ ์ผ๋ก ๊ธฐ๋ฅ์ ํ์ฅํ ์ ์๋ ๊ฐ๋ฅ์ฑ์ด์ผ ๋น์ฐํ ๋ง๊ธด ํ๊ฒ ์ง๋ง, ์ฒ์ ์ ํ๋ ์ ์ฅ์์๋ ์ด๋ป๊ฒ ์ปค์คํฐ๋ง์ด์งํ ์ง ํ์ ํ๊ธฐ ๋ํดํ ์ ์๋ค.
์๋์์๋ ๋ด๊ฐ ์ด๋ป๊ฒ Wezterm์ ์ปค์คํฐ๋ง์ด์ง์ ํ๊ณ ์๋์ง ์์๋ฅผ ๋์ดํ๋ ๊ฒ์ผ๋ก ๊ธ์ ๋๋ด๊ฒ ๋ค. Wezterm, ๋ฏฟ๊ณ ์จ๋ณด์๋ผ.
Wezterm์์ ํฐ๋ฏธ๋ ์์์ ์ค์ ํ ๋, ๋ฐฐ๊ฒฝ์์์ ๋ฐํฌ๋ช ๋๋ฅผ ์ง์ ํ ์ ์๋ ์ต์ ์ด ์๋ค. ๋๋ ์ฌ๊ธฐ์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์ ํ๊ณ ์ถ์๋ค.
๋ฐํฌ๋ช ๋๋ฅผ ์์๋ก ๋ ์๋ ์์ง๋ง, ๋ชจ๋ํฐ ํ๋ ์ง๋ฆฌ์ ํ๊ฒฝ์์ ์์ ํ๋ค๋ฉด ๋ธ๋ผ์ฐ์ ๋ฅผ ๋ค์ชฝ์ ๋๊ณ ํฐ๋ฏธ๋ ์ฑ์ ์์ ๋๋ ์์ผ๋ก ์์ ์ ๋ง์ด ํ๊ฒ ๋๋ค. HMR(Hot Module Reloading)์ด ๋๋ ๊ฐ๋ฐํ๊ฒฝ์ด๋ผ๋ฉด, ์์ค์ฝ๋๋ฅผ ํธ์งํ๊ณ ํ๋ฉด์ ์ฆ๊ฐ์ ์ผ๋ก ๋ฐ์์ด ๋๋๊ฑธ ๊ธฐ๋ํ ํ ๋ฐ ์ด๊ฑธ ํญ ์ค์์นญํ๋ฉด์ ํ์ธํ๊ธฐ๋ ๊ต์ฅํ ๋ฒ๊ฑฐ๋กญ๋ค. ์จ์ ํ ์์ ์ ์ ์งํ๋ค๊ฐ ์ ๊น ํ์ธํ๊ณ ์ถ์๋ ๋ฐํฌ๋ช ๋๋ฅผ ๋ณ๊ฒฝํ๋ฉด ๋๋๋ฐ๋ ๋ง์ด๋ค.
Wezterm์์๋ ์ด๋ฒคํธ๋ฅผ ๋ฐ์ ํ ์ ์๊ณ , ๋ค๋ฅธ ํ๋ก์ธ์ค์์ ํน์ ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋ ์ด๋ค ๋์์ ํ ๊ฒ์ธ์ง๋ฅผ ์ ์ํ ์ ์๋ค. Wezterm ํฐ๋ฏธ๋ ์ต์ ์ ์์ ํ๋๊ฒ๋ ์ฌ๊ธฐ์ ํฌํจ๋ ์ ์๋ค. ํน์ ๋จ์ถํค๋ฅผ ์ ๋ ฅํ๋ฉด, ์ด๋ค ์ด๋ฒคํธ๋ฅผ ๋ฐ์์ํฌ ์ ์๊ณ , ๊ทธ ์ด๋ฒคํธ๋ก ์ธํด์ ํ๋ฉด์ ๋ฐํฌ๋ช ๋๋ฅผ ์กฐ์ ํ ์ ์๊ฒ ํ๋ค.
local default_opacity = 0.9
local keymaps = {}
-- SHIFT + CTRL + Z ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ๊ฐ์์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = "Z",
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'decrease-opacity',
}
)
-- SHIFT + CTRL + X ํค๋ฅผ ๋๋ฅด๋ฉด ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ๋ค.
table.insert(
keymaps,
{
key = 'X',
mods = 'SHIFT|CTRL',
action = wezterm.action.EmitEvent 'increase-opacity',
}
)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('increase-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity + 0.1
if opacity > 1.0 then
opacity = 1.0
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
-- "increase-opacity" ์ด๋ฒคํธ๋ฅผ ์์ ํ์๋, ๋ฐํฌ๋ช
๋๋ฅผ ์ฆ๊ฐ์ํค๋ ๋์์ ํ๋๋ก ์ ์ํ๋ค.
wezterm.on('decrease-opacity', function(window, pane)
local overrides = window:get_config_overrides() or {}
local opacity = overrides.window_background_opacity
if opacity == nil then
opacity = default_opacity
end
opacity = opacity - 0.1
if opacity < 0.3 then
opacity = 0.3
end
overrides.window_background_opacity = opacity
window:set_config_overrides(overrides)
end)
return {
keys = keymaps
}
๋๋ถ๋ถ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์์ ํญ ์ด๋ฆ์ ํ์ํ ๋, ํ์ฌ ํญ์์ ๋๊ณ ์๋ ํ๋ก์ธ์ค์ ์ด๋ฆ์ ๋ช ์ํ ๋๊ฐ ๋ง๋ค. ๊ทธ๋ฐ๋ฐ, ํญ์ ๋ช ์๋์ด ์๋ ํ์ดํ๋ง ๊ฐ์ง๊ณ ๋ ๊ฐ๊ฐ์ ํญ์ด ์ด๋ค ์ญํ ์ ํ๋ ๊ฒ์ธ์ง ํ์ ํ๊ธฐ ์ด๋ ต๋ค. ์ด๋ ์ชฝ์ด ์๋ฒ๋ฅผ ๋์ฐ๊ณ ์๋๊ฑด์ง, ์ด๋ ์ชฝ์ด ์๋ํฐ ํธ์ง ํ๋ฉด์ธ์ง, ์ด๋ ์ชฝ์ด LLM Agent๋ฅผ ๋๋ฆฌ๊ณ ์๋์ง ๋ํดํ๋ค.
ํ์ง๋ง, ์๋์ฒ๋ผ wezterm.action.PromptInputLine
API๋ฅผ ์ฌ์ฉํด์ ํ๋กฌํํธ ์
๋ ฅ์ ๋ฐ์ ๋ด์ฉ์ ๊ธฐ๋ฐ์ผ๋ก, ํ์ฌ ํ์ฑํ๋ ํญ์ ์ด๋ฆ์ ๋ณ๊ฒฝํ๋ ์์ผ๋ก ์ธ์ง๋ถํ๋ฅผ ์ค์ผ ์ ์๋ค.
local wezterm = require('wezterm')
local keymaps = {}
table.insert(
keymaps,
{
key = '`',
mods = 'CTRL',
action = wezterm.action.PromptInputLine {
description = "Enter new name for tab",
action = wezterm.action_callback(function(window, _, line)
if line then
window:active_tab():set_title(line)
end
end)
}
}
)
return {
keys = keymaps
}
Aider๋ Claude Code ๊ฐ์ LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํ ํ ์์ ์์ ์ด ๋๋ฌ๊ฑฐ๋, ํน์ ์์ ์ ๋ํ ์น์ธ์ ์๊ตฌํ ๋๊ฐ ๊ฐํน ์๋ค. LLM ์์ด์ ํธ๊ฐ ์์ ์ ์ํํ๋๊ฑธ ๊ฐ๋งํ ๋ณด๊ณ ๋ง ์์ ์ ์์ ๊ฒ์ด๋ค.
Claude Code/Aider๋ ๋คํํ๋ ์๋ต์ ํ๊ณ ๋์ ์ถ๊ฐ์ ์ธ ๋ช
๋ น์ ์คํํ ์ ์๋ ์ต์
[2]์ ์ ๊ณตํด์ฃผ๋๋ฐ, ๊ฑฐ๊ธฐ์ ๊ฐ๋จํ๊ฒ echo -ne '\007'
๋ช
๋ น์ด๋ฅผ ๋๊ฒจ์ค ์ ์๋ค. ์ด ๋ช
๋ น์ด๋ ์์ฒญ ์ด๋ ต์ง๋ ์๋ค. ํฐ๋ฏธ๋ ์ฑ์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ฌ์ํ๋ ๋ช
๋ น์ด๋ค.
์์ ํ๊ฒฝ์ด ์ด๋๋์ ๋ฐ๋ผ ๋ค๋ฅผ ์ ์๊ฒ ์ง๋ง, ์์ ์๋ฃ ์ฌ๋ถ๋ฅผ ์์ฑ์ผ๋ก ๋ฐ๊ธฐ์๋ ๋ฌผ๋ฆฌ์ ์ธ ์ ์ฝ์ด ์์ ์ ์๋ค. ์์ ์๋ฆผ ์ผํฐ๋ฅผ ์ด์ฉํ๋ค๊ณ ์น์. ์ ๋ฌด ์๊ฐ๋์ ๋ฐฉํด๊ธ์ง ๋ชจ๋๋ฅผ ์ค์ ํ๋ค๋ฉด ์๋ฆผ์ด ์ธ๋ฆฌ๊ฒ ์ค์ ์ด ํ๋๋ผ๋ ์์คํ ์ ์ฝ์ ๋ฌปํ ๊ฐ๋ฅ์ฑ๋ ์๋ค.[3]
visual_bell
์ต์
์ ํ์ฉํ๋ฉด, ํฐ๋ฏธ๋์ ๋ด์ฅ๋ ์์คํ
๋ฒจ ์๋ฆฌ๋ฅผ ์ธ๋ฆฌ๋ ๋์ ํ๋ฉด์ด ๋ฐ์ง์ด๊ฒ ํด์ ๋ค๋ฅธ ์์ด์ ํธ๊ฐ ์๋ต์ ์๋ฃํ๋ค๊ณ ๋ช
์์ ์ผ๋ก ์๋ฆผ์ ๋ฐ์ ์ ์๋ค. LLM ์์ด์ ํธ๊ฐ ํ๋ ์ผ์ ์ผ์ผ์ด ๋ชจ๋ํฐ๋งํ์ง ์๋๋ผ๋, ๋ค๋ฅธ ์์
์ ์ํํ๋ ์ค์ ํ๋ฉด์ด ๋ฐ์ง์ด๋ฉด ๊ทธ๋ ํ์ธํ๊ธฐ๋ง ํ๋ฉด ๊ทธ๋ง์ด๋ค.
return {
colors = {
visual_bell = '#003355',
},
visual_bell = {
fade_in_duration_ms = 75,
fade_out_duration_ms = 75,
target = 'BackgroundColor', -- ๋๋ 'CursorColor'
}
}
Hashicorp ๊ณต๋์ฐฝ์ ์์ธ Mitchell Hashimoto๊ฐ ๋ง๋ ํฐ๋ฏธ๋ ์๋ฎฌ๋ ์ดํฐ์ธ๋ฐ, OpenAI์์ Codex ์์ฐํ ๋ Ghostty ํฐ๋ฏธ๋๋ก ์์ฐํ ๋ฐ๊ฐ ์๋ค. โฉ๏ธ
Aider๋ notifications-command, Claude Code๋ Hook์ด ์๋ค โฉ๏ธ
์ด๋ค ์ฌ๋์ ํด๋์ ํ๋ฅผ ์ง๋๋ชจ๋๋ก ํด๋๊ณ , ํ ๋ ๊ทธ๋จ/๋์ค์ฝ๋๋ก ์๋ฆผ์ด์ ์๋ฆผ์ ์์ ๋ฐ๋ ๋ฐฉ์์ ์ฐ๊ณ ์๋ ๊ฒ์ ๊ด์ฐฐํ ๋ฐ๋ ์๋ค. โฉ๏ธ
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@fedify@hollo.social
๐ Big thanks to @2chanhaeng for his first contribution to #Fedify! He implemented the new fedify webfinger
command in PR #278, which allows isolated #WebFinger lookups for testing configurations. This addresses the need for developers to test WebFinger functionality without performing comprehensive object retrieval.
The contribution includes:
fedify webfinger <handle>
command that accepts @user@domain
format handles or URIsThis was originally filed as issue #260 and marked as a good first issueโperfect for newcomers to learn the codebase structure while contributing meaningful functionality. The PR has been merged and will be included in the upcoming Fedify 1.8.0 release.
We appreciate all first-time contributors who help make Fedify better for the entire #fediverse community. Welcome aboard, ChanHaeng!
@dweb@social.coop
โก Use the Internet Archive like a Hacker-Librarian! ๐ฎ
Join a hands-on workshop where weโll demystify the CLI and turn it into your super power for archiving, accessing, and uploading content to the @internetarchive.
Hosted by the @ZFAVClub, with the participation of @tommi, weโll learn and share our experience using the awesome ia #CLI tool!
๐๏ธ Jul 3, 16:00 UTC (9 PDT, 18 CEST)
PARTICIPATION IS FREE
โน๏ธ Info + registration: https://lu.ma/zv3blohp
@readbeanicecream@mastodon.social
Mastodon on Toot TUI
There is nothing like a TUI (text user interface) to really help me focus. So when I stumbled on Toot TUI, I had to give it a try. Now, it is probably one of my favorite terminal applications.
https://readbeanicecream.surge.sh/2025/06/28/mastodon-on-toot-tui/
#indieweb #fediverse #mastodon #cli #tui #linux #socialmedia #technology
@readbeanicecream@mastodon.social
Mastodon on Toot TUI
There is nothing like a TUI (text user interface) to really help me focus. So when I stumbled on Toot TUI, I had to give it a try. Now, it is probably one of my favorite terminal applications.
https://readbeanicecream.surge.sh/2025/06/28/mastodon-on-toot-tui/
#indieweb #fediverse #mastodon #cli #tui #linux #socialmedia #technology
@paco@infosec.exchange
I am slowly oxidizing my unix CLI. A lot of people have made rust based versions of common unix utilities and some of them are REALLY good.
Like fd-find
for doing essentially find . -name blah
. And rg
(ripgrep) which does grep -R
but it's aware of git, files like pyc
or .bak
files, and it excludes them by default.
Now I have sd
which is hopefully replacing the last thing I used perl
for. I write perl -pi -e s/x/y/g
a lot. Just doing a quick string replace inside a file. So sd
can start doing that.
I'm also trying to get used to zellij
instead of tmux
and starship
for modern prompt decorations like the kids do.
These kids, my friends, are welcome on my lawn.
@jesuismonsieurb@framapiaf.org
@jesuismonsieurb@framapiaf.org
@JdeBP@tty0.social ยท Reply to Chris Siebenmann's post
You and Ted Unangst. (-:
* https://news.ycombinator.com/item?id=44307003
Unless there are two *different* pieces about text editors today that conflate command-line and textual user interface.
@nucliweb@webperf.social
Bold Brew (bbrew) - A Homebrew TUI Manager
@nucliweb@webperf.social
Bold Brew (bbrew) - A Homebrew TUI Manager
@grobi@defcon.social
Please Please stop the madness! Stop using Java-script for Unix/Linux tutorials !!
As an intensive Unix and Linux user, I love to use a command-line browser. As a rule, these are links, elinks or lynx for me.
So far, they have guided me to my goal at lightning speed, are resource-saving, require little bandwidth, do not distract with unnecessary bells and whistles and, above all, they work even if the X-system fails and I have to boot without a desktop !
For me, commandline or text-based browsers are part of the Linux fire brigade and are the salvation of many users in need. But it doesn't help at all if manuals, help pages and other tutorials use Java-script!
In the example below, you can see a search query in the links browser with the parameters: "Linux close all windows commandline"
Of the 10 websites shown in the search results, 7 (!) could not be displayed at all because of Javascript, 2 did not really correspond to the parameters and only one (the github page) had a corresponding readable answer.
Does that make sense?
Absolutely not!!
Therefore, an anxious request:
Dear Tutorial Content Creators, Dear OS Developers please stop using Javascript or at least provide a plain text or html option, PLEASE PLEASE PLEASE PLEASE PLEASE
#unix #linux #bsd #gnu #foss #floss #cli #tutorials #browser
@graves501@fosstodon.org
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released! ๐
Enabled colour help for Python 3.14:
๐จ em-keyboard 5.2.0
๐จ linkotron 0.5.0
๐จ norwegianblue 0.22.0
๐จ pepotron 1.5.0
๐จ pypistats 1.10.0
Also added Python 3.15 to pepotron: `pep 3.15` opens PEP 790.
#release #python314 #colour #CLI #EmKeyboard #linkotron #norwegianblue #pepotron #pypistats #help
@lavxnews@ioc.exchange
Introducing kdlfmt: The Essential CLI Tool for KDL Document Formatting
The new kdlfmt CLI tool simplifies the formatting and validation of KDL (Kotlin Data Language) documents, making it an indispensable utility for developers working with this emerging data format. Buil...
https://news.lavx.hu/article/introducing-kdlfmt-the-essential-cli-tool-for-kdl-document-formatting
@toxi@mastodon.thi.ng
#ReleaseWednesday Just pushed a new version of https://thi.ng/block-fs, now with additional multi-command CLI tooling to convert & bundle a local file system tree into a single block-based binary blob (e.g. for bundling assets, or distributing a virtual filesystem as part of a web app, or for snapshot testing, or as bridge for WASM interop etc.)
Also new, the main API now includes a `.readAsObjectURL()` method to wrap files as URLs to binary blobs with associated MIME types, thereby making it trivial to use the virtual filesystem for sourcing stored images and other assets for direct use in the browser...
(Ps. For more context see other recent announcement: https://mastodon.thi.ng/@toxi/114264980961483146)
#ThingUmbrella #BlockStorage #FileSystem #BlockFS #VirtualFS #CLI #TypeScript #JavaScript #OpenSource
@readbeanicecream@mastodon.social
Zettelkasten on the CLI
Let's take a look at my Zettelkasten notetaking workflow on the Linux Command Line. Trust me, it's simple.
https://readbeanicecream.surge.sh/2025/03/24/zettelkasten-on-the-cli/
#productivity #notetaking #linux #cli #commandline indieweb #blogging #smallweb #personalweb #tech #technology #zettelkasten
@epilys@chaos.social
Stupid-but-works tip on how to add inline documentation comments for multi-line shell commands in scripts: Combine command substitution with grave accents "`" and the do-nothing built-in command ":":
```shell
% ls \
> -h `: this is a comment` \
> -a `: this is another comment` \
> -t `: more commentssss`
```
@epilys@chaos.social
Stupid-but-works tip on how to add inline documentation comments for multi-line shell commands in scripts: Combine command substitution with grave accents "`" and the do-nothing built-in command ":":
```shell
% ls \
> -h `: this is a comment` \
> -a `: this is another comment` \
> -t `: more commentssss`
```
@readbeanicecream@mastodon.social
Zettelkasten on the CLI
Let's take a look at my Zettelkasten notetaking workflow on the Linux Command Line. Trust me, it's simple.
https://readbeanicecream.surge.sh/2025/03/24/zettelkasten-on-the-cli/
#productivity #notetaking #linux #cli #commandline indieweb #blogging #smallweb #personalweb #tech #technology #zettelkasten
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released: pypistats 1.9.0 ๐
pypistats is CLI to show download stats from PyPI
https://pypi.org/project/pypistats/1.9.0/
* Replace deprecated classifier with licence expression (PEP 639)
* Remove GitHub attestation, uses PyPI attestations instead (PEP 740)
* Add input validation for total and fix --monthly with no mirror
* Update docs for recent command
@FediTips@social.growyourown.services
Here's a very brief tip for the more techy people on here:
You can use Mastodon (and compatible servers) through command lines and text-based interfaces with the free open source client "toot":
โก๏ธ https://toot.bezdomni.net
There are lots more details on the developer's website.
@FediTips@social.growyourown.services
Here's a very brief tip for the more techy people on here:
You can use Mastodon (and compatible servers) through command lines and text-based interfaces with the free open source client "toot":
โก๏ธ https://toot.bezdomni.net
There are lots more details on the developer's website.
@scy@chaos.social
`lowdown -tterm` produces pretty nice #Markdown rendering in the #terminal.
@maxlath@mastodon.social ยท Reply to Sebastian Lasse's post
@freespiritlinux69@fedi.at
Schรถnen guten Morgen,
Ich habe mich entschieden, ein kleines Tutorial รผber CLI-Befehle unter Linux zu erstellen.
CLI steht fรผr Command Line Interface, was auf Deutsch als Befehlszeilenschnittstelle bezeichnet wird. Es handelt sich um eine textbasierte Benutzeroberflรคche, die es Benutzern ermรถglicht, mit einem Computer oder einem Betriebssystem zu interagieren, indem sie Befehle in Form von Text eingeben.
In Linux kann das sogenannte Terminal zur Eingabe von CLI-Befehlen verwendet werden.
Bitte teilt das mit eurer #followerpower, damit mehr Menschen darauf aufmerksam werden. Dieses Tutorial richtet sich an Anfรคnger, die das Terminal unter Linux nicht als furchterregendes Monster betrachten, sondern effizient damit arbeiten mรถchten.
DANKESCHรN
Der Link fรผhrt direkt zum Thread mit dem Tutorial und kann bei Bedarf gespeichert werden.
@tuist@fosstodon.org
Soon our Noora single-choice prompt component will support filtering thanks to @finnvoorhees's brilliant work in this PR:
https://github.com/tuist/Noora/pull/195
@tuist@fosstodon.org
Soon our Noora single-choice prompt component will support filtering thanks to @finnvoorhees's brilliant work in this PR:
https://github.com/tuist/Noora/pull/195
@artemissian@fosstodon.org
Alternative #CLI tools to check out and try:
bat https://github.com/sharkdp/bat
bottom https://github.com/ClementTsang/bottom
broot https://github.com/Canop/broot
btop https://github.com/aristocratos/btop
cheat https://github.com/cheat/cheat
choose https://github.com/theryangeary/choose
curlie https://github.com/rs/curlie
delta https://github.com/dandavison/delta
doggo https://github.com/mr-karan/doggo
dust https://github.com/bootandy/dust
duf https://github.com/muesli/duf
dysk https://github.com/Canop/dysk
eza https://github.com/eza-community/eza
fd https://github.com/sharkdp/fd
fzf https://github.com/junegunn/fzf
@artemissian@fosstodon.org
Alternative #CLI tools to check out and try:
bat https://github.com/sharkdp/bat
bottom https://github.com/ClementTsang/bottom
broot https://github.com/Canop/broot
btop https://github.com/aristocratos/btop
cheat https://github.com/cheat/cheat
choose https://github.com/theryangeary/choose
curlie https://github.com/rs/curlie
delta https://github.com/dandavison/delta
doggo https://github.com/mr-karan/doggo
dust https://github.com/bootandy/dust
duf https://github.com/muesli/duf
dysk https://github.com/Canop/dysk
eza https://github.com/eza-community/eza
fd https://github.com/sharkdp/fd
fzf https://github.com/junegunn/fzf
@hyalinesystems@mastodon.social
๐ผ Command line video magic for ARTISTS
A cookbook by @madskjeldgaard for audio and video processing on the command line โ with examples!
Includes how to generate a spectrum video from an audio file. How to combine an audio file and an image into a video. Among other things.
And it includes full #bash scripts and examples for for-loops, so you could do this on tons of audio files, if you so fancied ๐ค
@ploum@mamot.fr
If you are a Unix nerd and wish you spend less time using your mouse while watching flashy colors, I recommend that you give Offpunk a try:
Iโm trying to make it easier to get started with offpunk. Feedbacks and discussions are welcome on the mailing-list :
https://lists.sr.ht/~lioploum/offpunk-users
or on the fediverse, using the #offpunk hashtag. Or on your blog. That would be awesome to read blog posts about people using offpunk
@orhun@fosstodon.org
I found the ultimate CLI tool for processing CSV files! ๐ฅ
๐ชโจ **xan**: The CSV magician.
๐ฏ Supports expressions, parallelism, advanced filtering, sorting, and visualizations.
๐ฆ Written in Rust & uses @ratatui_rs
โญ GitHub: https://github.com/medialab/xan
@ploum@mamot.fr
If you are a Unix nerd and wish you spend less time using your mouse while watching flashy colors, I recommend that you give Offpunk a try:
Iโm trying to make it easier to get started with offpunk. Feedbacks and discussions are welcome on the mailing-list :
https://lists.sr.ht/~lioploum/offpunk-users
or on the fediverse, using the #offpunk hashtag. Or on your blog. That would be awesome to read blog posts about people using offpunk
@orhun@fosstodon.org
I found the ultimate CLI tool for processing CSV files! ๐ฅ
๐ชโจ **xan**: The CSV magician.
๐ฏ Supports expressions, parallelism, advanced filtering, sorting, and visualizations.
๐ฆ Written in Rust & uses @ratatui_rs
โญ GitHub: https://github.com/medialab/xan
@nev@bananachips.club ยท Reply to Julia's Reruns Bot's post
@b0rk_reruns ok so i have a kind of cursed question. often i'm doing something like `for file in $(ls *.txt); do echo ${file%.txt}; done`. why won't bash let me do ${$(ls *.txt)%.txt} and is there a better way to do it
(cc @b0rk)
@hongminhee@hollo.social
@hongminhee@hollo.social
@hongminhee@hollo.social
@blinry@chaos.social
I'm looking for a command line tool that allows watching a video file together on two computers, with synchronized play/pause, like these "watch party" sites, but inside a local network.
In the simplest case, it could be a Bash command streaming/decoding a local file at the same time, and another person could receive that streamโฆ? Has anyone seen something like that? #cli #linux
@blinry@chaos.social
I'm looking for a command line tool that allows watching a video file together on two computers, with synchronized play/pause, like these "watch party" sites, but inside a local network.
In the simplest case, it could be a Bash command streaming/decoding a local file at the same time, and another person could receive that streamโฆ? Has anyone seen something like that? #cli #linux
@ploum@mamot.fr
Released Offpunk 2.5 which add custom "aliases" and improve compatibility with #openbsd and #python version < 3.11
What is Offpunk?
https://offpunk.net/whatisoffpunk.html
You are welcome to discuss and ask questions on the offpunk-users list:
https://lists.sr.ht/~lioploum/offpunk-users
If you are familiar with python development, join the offpunk-devel list to help intregrate offpunk and unmerdify, a new library developed by @vjousse :
https://lists.sr.ht/~lioploum/offpunk-devel/%3C4841675b-b03e-4c80-9677-ddc18d840656@jousse.org%3E
@ploum@mamot.fr
Released Offpunk 2.5 which add custom "aliases" and improve compatibility with #openbsd and #python version < 3.11
What is Offpunk?
https://offpunk.net/whatisoffpunk.html
You are welcome to discuss and ask questions on the offpunk-users list:
https://lists.sr.ht/~lioploum/offpunk-users
If you are familiar with python development, join the offpunk-devel list to help intregrate offpunk and unmerdify, a new library developed by @vjousse :
https://lists.sr.ht/~lioploum/offpunk-devel/%3C4841675b-b03e-4c80-9677-ddc18d840656@jousse.org%3E
@WeirdWriter@caneandable.social
So, I am giving #RClone a try. Itโs a command line utility that will allow you to copy things from one cloud storage to the other with ease, sync one way or buy directionally, and Mount cloud storage as virtual drives on your machine so you can mount things like Google Drive, iCloud Drive, and even OneDrive without using any of their bloated and inaccessible software. Of course, the first thing I tried to do with it, itโs not capable of Yet. I tried to copy my writing from an off-line hard drive to three different cloud services with one command. Thatโs not possible as of yet, but I would still highly recommend this tool even if Iโm sure Iโm not utilizing it to its full glory as of yet. #CLI #DropBox, #NextCloud, #OneDrive
@nickbearded@mastodon.social
The website is live!
#linux #bashcore #cli #nogui #debian #security #pentesting #education #bash
@qiita@rss-mstdn.studiofreesia.com
@levibeach@merveilles.town ยท Reply to Levi Beach's post
Thinking through some settings UI this morning.
@sramsay@hcommons.social
I'm pleased to present a new blog post -- "Beautiful Documents with Groff (Part II)" https://stephenramsay.net/posts/groff-mom2.html -- only a year-and-a-half after "Beautiful Documents with Groff (Part I)" https://stephenramsay.net/posts/groff-mom.html
Of interest, perhaps, to users of #pandoc and/or #Linux, #cli cultists, and digital document nerds. Discusses #groff, #latex, #typst, and even #pollen (though not the kind that makes you sneeze).
@levibeach@merveilles.town ยท Reply to Levi Beach's post
So I guess it's happening and I'm really excited to explore all the possibilities. Using the Node binding for Rust's Web Audio API to create sound, which means I can do stuff like impulse response to model spaces!
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released! stravavis 0.5.0 ๐
Create artistic visualisations with your exercise data.
https://pypi.org/project/stravavis/0.5.0/
๐ด Drop support for EOL Python 3.8
๐ Skip segments in GPX tracks with empty trkseg
๐ถ Fix pandas warnings
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released: blurb 1.3.0 ๐
blurb is the CLI we use for managing CPython's news/changelog entries.
๐๏ธ Add support for Python 3.13
๐๏ธ Drop support for Python 3.8
๐๏ธ Generate digital attestations for PyPI (PEP 740)
๐๏ธ Allow running blurb test from blurb-* directories by
๐๏ธ Add version subcommand
๐๏ธ Generate __version__ at build to avoid slow importlib.metadata
https://pypi.org/project/blurb/1.3.0/
#Python #CPython #blurb #release #CLI #changelog #news #PEP740 #Python313 #Python38
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released: norwegianblue 0.19.0 ๐
๐ฆ Drop support for Python 3.8
๐ฆ Generate digital attestations for PyPI (PEP 740)
๐ฆ Test with tox-uv
๐ฆ Lint with pre-commit-uv
https://pypi.org/project/norwegianblue/0.19.0/
norwegianblue is a CLI to show EOLs from https://endoflife.date
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released: pepotron 1.3.0 ๐
๐ฉ Generate digital attestations for PyPI (PEP 740)
๐ฉ Drop support for Python 3.8
๐ฉ Generate __version__ at build to avoid slow importlib.metadata
๐ฉ Test on CI with uv
https://pypi.org/project/pepotron/1.3.0/
Pepotron is a CLI for opening PEPs in your browser. For example, try:
$ pep 8
$ pep 3.14
$ pep dead batteries
$ pep calendar
@hugovk@mastodon.social ยท Reply to Hugo van Kemenade's post
Just released: pypistats 1.7.0 ๐
๐ Generate digital attestations for PyPI (PEP 740)
๐ Drop support for EOL Python 3.8
๐ Generate __version__ at build to avoid slow importlib.metadata
@mariusor@metalhead.club
@summeremacs@fashionsocial.host
I just posted a new file about how I got into using #Emacs, #Linux, the #CLI, and other things.
Here it is: https://summeremacs.github.io/posts/how-i-came-to-use-emacs-and-other-things/
And no @daviwil, I'm still not starting a blog to post this stuff. ๐
Edit: I was wrong. @daviwil was right. I am leaving my post up here as a victory for him. ๐คฃ
@jelloeater@mastodon.social
Got bored, wrote a #CLI timestamp app in #golang
https://github.com/Jelloeater/stampy
@matclab@mamot.fr
Je relance mon blog, en modifiant le systรจme de commentaire pour qu'il utilise mastodon.
Je vais mettre quelques liens ici et commencer par un retour d'expรฉrience sur l'utilisation de `ledger-cli` pour faire mes comptes (que j'utilise toujours).
https://ontoblogie.clabaut.net/posts/201903/gerer-ses-comptes-en-ligne-de-commande.html
@whalecoiner@indieweb.social
Does anyone have a recommendation for a CLI boilerplate text file creator? I need something to help with using my personal website better. Iโm thinking of something where I can type โ<app> new postโ or โ<app> new noteโ and a markdown file of appropriate frontmatter stubs is created, in a predefined directory. Itโd have to have some kind of template system available. Know of anything?
@OS1337@infosec.space
For everyone wanting to test out OS/1337 there's good news:
You can just clone the #git repo or pull it as #zip:
https://github.com/OS-1337/OS1337
and then just run ./scripts/build.sh
and within a few mins it'll spit out a bootable #1440kB image in /build/0.CORE/ to put on a 3,5" FDD or run in a VM [may it be #QEMU or #VirtualBox]...
Thanks to @SweetAIBelle for the generous contributions!
#OS1337 #Linux #Development #Embedded #EmbeddedLinux #CLI #TUI #minimalist #OS #FLOSS #OSS #FOSS
@servio@libretics.org
#LibreTICs: un lugar de encuentro, debate, investigaciรณn, desarrollo y difusiรณn acerca de los usos sociales de la tecnologรญa.
Contacto:
Radio https://libretics.org/radio
#Podcast: podcast.libretics.org/
#XMPP Grupo xmpp:hacklab-libretics@salas.gnlug…
Grupo #DeltaChat: i.delta.chat/#FF36E74BCB6E7C00
#Onion Blog: http://3puc73jz3pbflplwe7y5hkopdoq…
Me gusta mucho el concepto de la internet pequeรฑa: 1 persona = 1 servidor = 1 pรกgina web. ๐งโ๐ป๐งฐ๐๐ง๐ช๐จ
#softwarelibre #gnu #linux #fediverso #lineadecomandos #terminal #cli #sabadodeterminal #viernesdeescritorio #radio #privacidad #comunidad
@scy@chaos.social
`lowdown -tterm` produces pretty nice #Markdown rendering in the #terminal.
@nojhan@mamot.fr
Il parait que j'aurais dรป faire une #introduction depuis 6 ans, alors voilร . Ici, je pouetโฏ:
โโฏscience (recherche appliquรฉ en algorithmique de l'#IA, en ce moment assez saoulรฉ par son dรฉvoiement corporate),
โโฏdesign & illustration (souvent vectorielle sous #inkscape),
โโฏcode libre (auteur de #CLIโฏ: #liquidprompt, #colout, โฆ),
โโฏpolitique (anar gauchiste, centriste repenti, radicalisรฉ par le macronisme),
โโฏsondages bizarres (neuroatypique tentant de comprendre comment รงa marche dans votre tรชte).
@elijahmanor@hachyderm.io
@sgued@pouet.chapril.org
๐ซ๐ท รtudiant, passionnรฉ de logiciels libres. J'ai crรฉรฉ peertube-viewer, un petit outil en ligne de commande pour naviguer les vidรฉos #peertube, dans le mรชme esprit que youtube-viewer
๐ฌ๐ง Student, passionate by #FLOSS. I created peertube-viewer, a small #CLI tool to browse peertube instances, quite similar to youtube-viewer.