์ด๋ชจ์ง€ ์ด๋ชจํ‹ฐ์ฝ˜ ์ž˜๋ฆฌ๋Š” ๋ฌธ์ œ

[2023-09-25 Mon 08:09]

Emojis get โ€œcut offโ€ ์ด๋ชจํ‹ฐ์ฝ˜์ด "์ž˜๋ ค๋‚˜๊ฐ"

If emojis, like ๐Ÿ˜ get cut off, chances are you are using a narrow primary font where the width of two cells is less than the line height. Since emojis (which are double-width glyphs) are more or less square, they will get cut off.

์ด๋ชจํ‹ฐ์ฝ˜(์˜ˆ: ๐Ÿ˜)์ด ์ž˜๋ฆฌ๋Š” ๊ฒฝ์šฐ, ๋‘ ์…€์˜ ๋„ˆ๋น„๊ฐ€ ์ค„ ๋†’์ด๋ณด๋‹ค ์ž‘์€ ์ข์€ ๊ธฐ๋ณธ ๊ธ€๊ผด์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์„ ๊ฐ€๋Šฅ์„ฑ์ด ๋†’์Šต๋‹ˆ๋‹ค. ์ด๋ชจํ‹ฐ์ฝ˜(ํญ์ด ๋‘ ๋ฐฐ์ธ ๊ธ€๋ฆฌํ”„)์€ ์ •์‚ฌ๊ฐํ˜•์— ๊ฐ€๊น๊ธฐ ๋•Œ๋ฌธ์— ์ž˜๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

This is easily worked around by explicitly adding your emoji font as a fallback font in foot.ini, with a custom size: ์ด ๋ฌธ์ œ๋Š” foot.ini ์—์„œ ์‚ฌ์šฉ์ž ์ง€์ • ํฌ๊ธฐ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ชจํ‹ฐ์ฝ˜ ๊ธ€๊ผด์„ ๋Œ€์ฒด ๊ธ€๊ผด๋กœ ๋ช…์‹œ์ ์œผ๋กœ ์ถ”๊ฐ€ํ•˜๋ฉด ์‰ฝ๊ฒŒ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

font=<your primary font>, Noto Color Emoji:size=8

Here you will have to experiment with the size. Note that you are not limited to integer sizes. I.e. size=8.5 is perfectly valid. ์—ฌ๊ธฐ์—์„œ ํฌ๊ธฐ๋ฅผ ์‹คํ—˜ํ•ด ๋ณด์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ •์ˆ˜ ํฌ๊ธฐ๋กœ ์ œํ•œ๋˜์ง€ ์•Š๋Š”๋‹ค๋Š” ์ ์— ์œ ์˜ํ•˜์„ธ์š”. ์ฆ‰, size=8.5 ๋Š” ์™„๋ฒฝํ•˜๊ฒŒ ์œ ํšจํ•ฉ๋‹ˆ๋‹ค.

CANCELLED fasd zoxide : ํ„ฐ๋ฏธ๋„ ๊ฒ€์ƒ‰ ํˆด

fasd is deprecated! zoxide is coming.

[2024-02-24 Sat 21:23] zoxide ๋Š” fasd ๋Œ€์‹ ์— ์ƒˆ๋กœ์šด ํˆด์„ ์ ์šฉํ•œ๋‹ค.

Vonfry / zoxide.el ยท GitLab - gitlab.com

Install

ajeetdsouza/zoxide - github.com

curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash

bash / zsh

eval "$(zoxide init bash)"
eval "$(zoxide init zsh)"

Related-Notes

References