mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-14 05:11:55 +00:00
Merge pull request #4215 from KingMob/bugfix/get-shell-names-correctly
This commit is contained in:
@@ -24,7 +24,7 @@ export class POSIXShellsProvider extends ShellProvider {
|
|||||||
.filter(x => x && !x.startsWith('#'))
|
.filter(x => x && !x.startsWith('#'))
|
||||||
.map(x => ({
|
.map(x => ({
|
||||||
id: slugify(x),
|
id: slugify(x),
|
||||||
name: x.split('/')[2],
|
name: x.split('/').pop(),
|
||||||
icon: 'fas fa-terminal',
|
icon: 'fas fa-terminal',
|
||||||
command: x,
|
command: x,
|
||||||
args: ['-l'],
|
args: ['-l'],
|
||||||
|
Reference in New Issue
Block a user