Skip to content

K-Shell 0.4.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 14:37

The terminal now keeps up with you: it reconnects on its own, comes back with your tabs, follows the folder you are in and colours the errors in your logs. The file manager opens any file, highlights code and can upload a file you edited in another app.

Already using K-Shell? Open K-Shell and click Update K-Shell in the top-right of the tab bar (or Settings → About → Check for updates). It downloads, verifies, installs and restarts. Your hosts, keys and settings are kept.

New install: pick your installer below, or open https://www.keselyoleren.com/download and the right file for your system downloads automatically.

System File
macOS (Apple Silicon and Intel) K-Shell_0.4.0_universal.dmg
Windows 10 / 11 (64-bit) K-Shell_0.4.0_x64-setup.exe (or the .msi)
Linux .AppImage (any distro), .deb (Debian/Ubuntu) or .rpm (Fedora/openSUSE)

First launch: the installers aren't code-signed yet.

  • macOS: open the app once, then go to System Settings → Privacy & Security and click Open Anyway.
  • Windows: in the SmartScreen dialog, click More info → Run anyway.

How everything works: https://www.keselyoleren.com/docs/

What's new

Terminal

  • Reconnects by itself. When an SSH connection drops (Wi-Fi switch, laptop asleep), K-Shell tries again after 1, 2, 4, 8 and 15 seconds, then every 30 seconds for about 3 minutes, and right away when the network is back. Press Enter to reconnect now or Ctrl+C to stop. An exit you typed yourself is left alone.
  • Follows your working directory. Split a pane and the new one opens in the same folder. After a reconnect, or when your tabs reopen, you are back where you were. Open SFTP here and Open in file manager open that folder too. For bash and zsh K-Shell adds a small hook to new sessions; shells that already report their folder work as they are.
  • Broadcast input. Type in one pane of a split tab and the other panes get the same keystrokes, pastes and snippets. Turn it on with ⌥⌘I (Ctrl+Shift+I), the command palette or a pane's right-click menu. Click the broadcast icon in a pane's header to leave that pane out.
  • Keyword highlighting. Errors show in red, warnings in yellow and successes in green, in any output. Add your own rules (words or a regular expression, any theme colour) in Settings → Terminal → Highlight keywords. Full-screen programs such as vim or htop are left alone.
  • Drop files on a terminal to type their paths, quoted for the shell.
  • Paste warning. Pasting several lines shows them first, since each line can run as a command.
  • Session logs. Turn on Settings → Terminal → Log terminal sessions to keep a plain-text copy of every session in Documents/K-Shell Logs (or a folder you choose). Colour codes are removed and progress bars are saved at their final state.
  • More settings: font weight, letter spacing, minimum contrast, cursor shape in unfocused panes, a bell that flashes and/or beeps, and the shell and start folder for local terminals. On macOS you can turn off Use Option as Meta key to type @, € or [ with Option on non-US keyboards.

Tabs

  • Your tabs come back. Close K-Shell and open it again: terminal tabs with their split layout and file-manager tabs reopen and connect. Hosts are remembered by reference, so no password or key is copied.
  • Rename a tab by double-clicking it, from its right-click menu, or with Rename tab in the command palette.

File manager

  • Open any file. Images open in a preview. PDFs, documents, media and archives open in the app your computer uses for them. Code and config files open in the editor.
  • Edit in your own app, upload with one click. A remote file you open in another app is watched; save it there and K-Shell offers to upload it back to the server.
  • Syntax highlighting for about 140 languages and config formats (Python, Go, Rust, JavaScript, PHP, SQL, YAML, JSON, Dockerfile, Nginx, .env and many more), with line numbers, find and replace, and code folding. Your file's indentation and line endings are kept as they are.
  • Files that would run or install when opened (.exe, .msi, .pkg, .dmg, .sh …) are never opened from the file manager. Download them if you need them.

Snippets

  • Variables. Write {{branch}} or {{branch:main}} in a snippet and K-Shell asks for the value each time it runs, including Run on hosts.

Look and feel

  • 25 terminal themes, 16 of them new: Tokyo Night, Catppuccin, Rosé Pine, Kanagawa, Everforest, GitHub Dark, Ayu, Night Owl, Synthwave and more, with seven light themes. Settings → Appearance lists them as Dark and Light.
  • A redesigned Workspaces page with project cards or a compact list.
  • Grid or list view in the Keychain.
  • Clearer menu labels in the sidebar, tab bar and menus.

Faster

  • K-Shell starts lighter: the terminal, file manager, editor and most pages now load the first time you use them, so start-up loads about a fifth of the code it used to.
  • Terminals in background tabs give back their graphics memory after 30 seconds, which helps when you keep many tabs open.

Fixed

  • Agent forwarding now works. Running ssh-add -l, git or ssh on the server used to hang or find no keys.

Known limitations

  • Tested mostly on macOS. The Windows and Linux builds pass the automated build and tests but have had little hands-on testing.
  • With Follow the working directory on, the one-line hook K-Shell types into new zsh sessions can stay in your zsh history unless HIST_IGNORE_SPACE is set. Turn the option off in Settings → Terminal if you prefer.
  • If an in-app update fails, download the new version from https://www.keselyoleren.com/download and install it over the old one.

Please report problems in Issues.