Add "lsl" eshell alias
This commit is contained in:
		
							parent
							
								
									9ed549a2bf
								
							
						
					
					
						commit
						d80337e27e
					
				
							
								
								
									
										9
									
								
								init.el
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								init.el
									
									
									
									
									
								
							@ -507,6 +507,15 @@ is already an active session to switch to or focus."
 | 
			
		||||
        ("C-c j" . tab-line-switch-to-prev-tab)
 | 
			
		||||
        ("C-c l" . tab-line-switch-to-next-tab)))
 | 
			
		||||
 | 
			
		||||
;; `eshell-command-aliases-list' is not available until the `em-alias' module is loaded,
 | 
			
		||||
;; so the alias additions are set up here
 | 
			
		||||
 | 
			
		||||
(editor-feature em-alias
 | 
			
		||||
  "Handles creation and management of command aliases for eshell."
 | 
			
		||||
  :config
 | 
			
		||||
  (eval-after-load 'em-alias (lambda ()
 | 
			
		||||
                               (add-to-list 'eshell-command-aliases-list '("lsl" "ls -lh $1")))))
 | 
			
		||||
 | 
			
		||||
;; ---------------------------------- ;;
 | 
			
		||||
;; files
 | 
			
		||||
;; ---------------------------------- ;;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user